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



render_block_core_template_part_post › Les Actions WordPress

Depuis5.9.0
Dépréciéen/a
do_action( 'render_block_core_template_part_post', $template_part_id, $attributes, $template_part_post, $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
  • (WP_Post) $template_part_post The template part post object.
    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 post stored in the database.





Source

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