WPDev.one
Core Function
View Source on Trac ↗

get_shortcode_tags_in_content()

get_shortcode_tags_in_content( mixed $content )

Returns a list of registered shortcode names found in the given content.

Parameters 1 required

Name / Type Description
$content
string

The content to check.

Required

Return Value

(string[])
An array of registered shortcode names found in the content.

Function Information

Since Version
6.3.2
Source File
wp-includes/shortcodes.php
Advertisement