shortcode_exists

SummerySummery

Whether a registered shortcode exists named $tag

Syntax

shortcode_exists( string $tag )

ParametersParameters

$tag

(string) (Required) Shortcode tag to check.

ReturnReturn

(bool) Whether the given shortcode exists.

SourceSource

File: wp-includes/shortcodes.php


			

ChangelogChangelog

Changelog
Version Description
3.6.0 Introduced.
Scroll to Top