wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



render_block_core_template_part_post › WordPress Action Hooks

Seit5.9.0
Veraltetn/v
do_action( 'render_block_core_template_part_post', $template_part_id, $attributes, $template_part_post, $content )
Parameter: (4)
  • (string) $template_part_id The requested template part namespaced to the theme.
    Erforderlich: Ja
  • (array) $attributes The block attributes.
    Erforderlich: Ja
  • (WP_Post) $template_part_post The template part post object.
    Erforderlich: Ja
  • (string) $content The template part content.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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