render_block_core_template_part_file

render_block_core_template_part_file

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.8

do_action('render_block_core_template_part_file') is found 1 times:

  • /wp-includes/blocks/template-part.php line 98
    094
    095
    096
    097
    098
    099
    100
    101
    102
    103
    104
         * @param array  $attributes              The block attributes.
         * @param string $template_part_file_path Absolute path to the template path.
         * @param string $content                 The template part content.
         */
        do_action( 'render_block_core_template_part_file', $template_part_id, $attributes, $template_part_file_path, $content );
    } else {
        /**
         * Fires when a requested block template part does not exist in the database nor in the theme.
         *
         * @since 5.9.0
         *

See this hook used in plugins: