wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



get_block_template › Filtr WordPress Hooks

Od5.9.0
Przestarzałyn/a
› apply_filters( 'get_block_template', $block_template, $id, $template_type )
Parametry: (3)
  • () block_template The found block template, or null if there isn't one.
    Wymagane: Tak
  • () id Template unique identifier (example: 'theme_slug//template_slug').
    Wymagane: Tak
  • () template_type Template type. Either 'wp_template' or 'wp_template_part'.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the queried block template object after it's been fetched.





Źródło

return apply_filters( 'get_block_template', $block_template, $id, $template_type );