WordPress at Your Fingertips
filter is not described

pre_do_shortcode_tag filter-hook . WP 4.7.0

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.


add_filter( 'pre_do_shortcode_tag', 'filter_function_name_6553', 10, 4 );
function filter_function_name_6553( $return, $tag, $attr, $m ){
	// filter...

	return $return;
Short-circuit return value. Either false or the value to replace the shortcode with.
Shortcode name.
Shortcode attributes array or empty string.
Regular expression match array.

Where the hook is called

wp-includes/shortcodes.php 349
$return = apply_filters( 'pre_do_shortcode_tag', false, $tag, $attr, $m );

Where in WP core the hook is used WordPress

Usage not found.