wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



render_block_core_template_part_post › WordPress Action Hooks

Da5.9.0
Deprecaton/a
do_action( 'render_block_core_template_part_post', $template_part_id, $attributes, $template_part_post, $content )
Parametri: (4)
  • (string) $template_part_id The requested template part namespaced to the theme.
    Richiesto:
  • (array) $attributes The block attributes.
    Richiesto:
  • (WP_Post) $template_part_post The template part post object.
    Richiesto:
  • (string) $content The template part content.
    Richiesto:
Definito a:
Codex:

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





Sorgenti

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