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)
  • () template_part_id The requested template part namespaced to the theme.
    Requis: Oui
  • () attributes The block attributes.
    Requis: Oui
  • () template_part_post The template part post object.
    Requis: Oui
  • () 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 );