WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about pre_do_shortcode_tag

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/shortcodes.php apply_filters 348 /**
* Filters whether to call a shortcode callback.
*
* Returning a non-false value from filter will short-circuit the
* shortcode generation process, returning that value instead.
*
* @since 4.7.0
*
* @param false|string $return Short-circuit return value. Either false or the value to replace the shortcode with.
* @param string $tag Shortcode name.
* @param array|string $attr Shortcode attributes array or empty string.
* @param array $m Regular expression match array.
*/

Hook Parameters

Parameter Type Name Description
false|string $return Short-circuit return value. Either false or the value to replace the shortcode with.
string $tag Shortcode name.
array|string $attr Shortcode attributes array or empty string.
array $m Regular expression match array.