wpseek.com
A WordPress-centric search engine for devs and theme authors



strip_shortcodes_tagnames › WordPress Filter Hooks

Since4.7.0
Deprecatedn/a
apply_filters( 'strip_shortcodes_tagnames', $tags_to_remove, $content )
Parameters: (2)
  • (array) $tags_to_remove Array of shortcode tags to remove.
    Required: Yes
  • (string) $content Content shortcodes are being removed from.
    Required: Yes
Defined at:
Codex:

Filters the list of shortcode tags to remove from the content.





Source

$tags_to_remove = apply_filters( 'strip_shortcodes_tagnames', $tags_to_remove, $content );