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



get_block_template › WordPress Filter Hooks

Da5.9.0
Deprecaton/a
› apply_filters( 'get_block_template', $block_template, $id, $template_type )
Parametri: (3)
  • () block_template The found block template, or null if there isn't one.
    Richiesto: Sì
  • () id Template unique identifier (example: 'theme_slug//template_slug').
    Richiesto: Sì
  • () template_type Template type. Either 'wp_template' or 'wp_template_part'.
    Richiesto: Sì
Definito a:
Codex:

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





Sorgenti

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