pre_do_shortcode_tag

pre_do_shortcode_tag

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('pre_do_shortcode_tag') is found 1 times:

  • /wp-includes/shortcodes.php line 426
    	 * @param string       $tag    Shortcode name.
    	 * @param array|string $attr   Shortcode attributes array or the original arguments string if it cannot be parsed.
    	 * @param array        $m      Regular expression match array.
    	 */
    	$return = apply_filters( 'pre_do_shortcode_tag', false, $tag, $attr, $m );
    	if ( false !== $return ) {
    		return $return;
    	}
    
    	$content = isset( $m[5] ) ? $m[5] : null;