wpseek.com
A WordPress-centric search engine for devs and theme authors



render_block_core_template_part_post › WordPress Action Hooks

Since5.9.0
Deprecatedn/a
do_action( 'render_block_core_template_part_post', $template_part_id, $attributes, $template_part_post, $content )
Parameters: (4)
  • (string) $template_part_id The requested template part namespaced to the theme.
    Required: Yes
  • (array) $attributes The block attributes.
    Required: Yes
  • (WP_Post) $template_part_post The template part post object.
    Required: Yes
  • (string) $content The template part content.
    Required: Yes
Defined at:
Codex:

Fires when a block template part is loaded from a template post stored in the database.





Source

do_action( 'render_block_core_template_part_post', $template_part_id, $attributes, $template_part_post, $content );