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



render_block_core_template_part_file › WordPress Action Hooks

Seit5.9.0
Veraltetn/v
do_action( 'render_block_core_template_part_file', $template_part_id, $attributes, $template_part_file_path, $content )
Parameter: (4)
  • (string) $template_part_id The requested template part namespaced to the theme.
    Erforderlich: Ja
  • (array) $attributes The block attributes.
    Erforderlich: Ja
  • (string) $template_part_file_path Absolute path to the template path.
    Erforderlich: Ja
  • (string) $content The template part content.
    Erforderlich: Ja
Definiert in:
Codex:

Fires when a block template part is loaded from a template part in the theme.





Quellcode

do_action( 'render_block_core_template_part_file', $template_part_id, $attributes, $template_part_file_path, $content );