wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



render_block_core_template_part_file › Les Actions WordPress

Depuis5.9.0
Dépréciéen/a
do_action( 'render_block_core_template_part_file', $template_part_id, $attributes, $template_part_file_path, $content )
Paramètres: (4)
  • (string) $template_part_id The requested template part namespaced to the theme.
    Requis: Oui
  • (array) $attributes The block attributes.
    Requis: Oui
  • (string) $template_part_file_path Absolute path to the template path.
    Requis: Oui
  • (string) $content The template part content.
    Requis: Oui
Défini(e) dans:
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 );