gutenberg_render_block_core_template_part_post
gutenberg_render_block_core_template_part_post
Appears in: gutenberg.12.7.2, gutenberg.12.9.0, gutenberg.13.1.0, gutenberg.13.2.0, gutenberg.13.4.0, gutenberg.13.5.0, gutenberg.13.5.2, gutenberg.13.6.0, gutenberg.13.7.1, gutenberg.13.8.2, gutenberg.13.9.0, gutenberg.14.0.2, gutenberg.14.0.3, gutenberg.14.2.0, gutenberg.14.3.1, gutenberg.14.4.0, gutenberg.14.5.0, gutenberg.14.5.3, gutenberg.14.6.1, gutenberg.14.7.0, gutenberg.14.8.4, gutenberg.15.1.0, gutenberg.15.2.1, gutenberg.15.2.2, gutenberg.15.2.4, gutenberg.15.3.1, gutenberg.15.4.0, gutenberg.15.6.2, gutenberg.15.7.0, gutenberg.15.7.1, gutenberg.15.8.0, gutenberg.15.9.0, gutenberg.16.1.0, gutenberg.16.2.1, gutenberg.16.5.1, gutenberg.16.6.0, gutenberg.16.8.1, gutenberg.16.9.0, gutenberg.17.0.2, gutenberg.17.1.2, gutenberg.17.2.3, gutenberg.17.3.0, gutenberg.17.4.1, gutenberg.17.5.0, gutenberg.17.5.2, gutenberg.17.6.5, gutenberg.17.7.0, gutenberg.17.8.0, gutenberg.17.8.2, gutenberg.17.9.0
Hook Type: action
See hook in action
Displaying hooks found in version: gutenberg.17.9.0do_action('gutenberg_render_block_core_template_part_post') is found 1 times:
- /build/block-library/blocks/template-part.php line 61
* @param array $attributes The block attributes. * @param WP_Post $template_part_post The template part post object. * @param string $content The template part content. */ do_action( 'gutenberg_render_block_core_template_part_post', $template_part_id, $attributes, $template_part_post, $content ); } else { $template_part_file_path = ''; // Else, if the template part was provided by the active theme, // render the corresponding file content. if ( 0 === validate_file( $attributes['slug'] ) ) { $block_template = get_block_file_template( $template_part_id, 'wp_template_part' );