WordPress at a glance
filter is not described

pre_do_shortcode_tag filter-hook . WP 4.7.0

Filters whether to call a shortcode callback.

Passing a truthy value to the filter will effectively short-circuit the shortcode generation process, returning that value instead.


add_filter( 'pre_do_shortcode_tag', 'filter_function_name_6142', 10, 4 );
function filter_function_name_6142( $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.


Since 4.7.0 Introduced.

Where the hook is called

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

Where the hook is used (in WP core)

Usage not found!