gutenberg_render_block_core_template_part_file

gutenberg_render_block_core_template_part_file

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

See hook in core

Displaying hooks found in version: gutenberg.17.9.0

do_action('gutenberg_render_block_core_template_part_file') is found 1 times:

  • /build/block-library/blocks/template-part.php line 92
    				 * @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( 'gutenberg_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: