Core Function
View Source on Trac ↗ do_shortcodes_in_html_tags()
do_shortcodes_in_html_tags( mixed $content, mixed $ignore_html, mixed $tagnames ) Searches only inside HTML elements for shortcodes and process them.
Parameters 3 required
| Name / Type | Description |
|---|---|
| $content string | Content to search for shortcodes. Required |
| $ignore_html bool | When true, all square braces inside elements will be encoded. Required |
| $tagnames array | List of shortcodes to find. Required |
Return Value
(string)
Content with shortcodes filtered out.
Function Information
Since Version
4.2.3
Source File
wp-includes/shortcodes.php
Advertisement