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



render_block_core_template_part_file › WordPress Action Hooks

Since5.9.0
Deprecatedn/a
do_action( 'render_block_core_template_part_file', $template_part_id, $attributes, $template_part_file_path, $content )
Parameters: (4)
  • (string) $template_part_id The requested template part namespaced to the theme.
    Required: Yes
  • (array) $attributes The block attributes.
    Required: Yes
  • (string) $template_part_file_path Absolute path to the template path.
    Required: Yes
  • (string) $content The template part content.
    Required: Yes
Defined at:
Codex:

Fires when a block template part is loaded from a template part in the theme.





Source

do_action( 'render_block_core_template_part_file', $template_part_id, $attributes, $template_part_file_path, $content );