apply_filters( ‘strip_shortcodes_tagnames’, array $tags_to_remove, string $content )

In this article

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

Parameters

$tags_to_removearray
Array of shortcode tags to remove.
$contentstring
Content shortcodes are being removed from.

Source

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

Changelog

VersionDescription
4.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.