render_block_core_template_part_post, $template_part_id, $attributes, $template_part_post, $content
render_block_core_template_part_post, $template_part_id, $attributes, $template_part_post, $content
Appears in: gutenberg.23.6.2
Hook Type: action
Displaying hooks found in version: gutenberg.23.6.2do_action('render_block_core_template_part_post, $template_part_id, $attributes, $template_part_post, $content') is found 1 times:
- /build/scripts/block-library/template-part.php line 65
* @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( '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' );