do_shortcode_tag WordPress Filter Hook
The do_shortcode_tag hook is used to process shortcodes in WordPress. It is called when a shortcode is found in a post and is used to process the shortcode. The do_shortcode_tag hook takes two arguments: the shortcode and the content of the post.
apply_filters( 'do_shortcode_tag', string $output , string $tag , array|string $attr , array $m ) #
Filters the output created by a shortcode callback.
Parameters
- $output
(string)Shortcode output.
- $tag
(string)Shortcode name.
- $attr
(array|string)Shortcode attributes array or empty string.
- $m
(array)Regular expression match array.
Source
Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |