pre_do_shortcode_tag

pre_do_shortcode_tag

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('pre_do_shortcode_tag') is found 1 times:

  • /wp-includes/shortcodes.php line 427
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    * @param string       $tag    Shortcode name.
     * @param array        $attr   Shortcode attributes array, can be empty if the original arguments string 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;