WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about render_block_core_template_part_post

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/blocks/template-part.php do_action 63 /**
* Fires when a block template part is loaded from a template post stored in the database.
*
* @since 5.9.0
*
* @param string $template_part_id The requested template part namespaced to the theme.
* @param array $attributes The block attributes.
* @param WP_Post $template_part_post The template part post object.
* @param string $content The template part content.
*/

Hook Parameters

Parameter Type Name Description
string $template_part_id The requested template part namespaced to the theme.
array $attributes The block attributes.
WP_Post $template_part_post The template part post object.
string $content The template part content.