get_block_file_template, null, $id, $template_type

get_block_file_template, null, $id, $template_type

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: 7.0.3

apply_filters('get_block_file_template, null, $id, $template_type') is found 1 times:

  • /wp-includes/block-template-utils.php line 1384

    $parts = explode( ‘//’, $id, 2 );
    if ( count( $parts ) < 2 ) { /** This filter is documented in wp-includes/block-template-utils.php */ return apply_filters( 'get_block_file_template', null, $id, $template_type ); } list( $theme, $slug ) = $parts; if ( get_stylesheet() === $theme ) { $template_file = _get_block_template_file( $template_type, $slug ); if ( null !== $template_file ) { [/php]