wpseek.com
A WordPress-centric search engine for devs and theme authors
pre_get_block_file_template › WordPress Filter Hooks
Since5.9.0
Deprecatedn/a
› apply_filters( 'pre_get_block_file_template', null, $id, $template_type )
| Parameters: (3) |
|
| Defined at: |
|
| Codex: |
Filters the block template object before the theme file discovery takes place.
Return a non-null value to bypass the WordPress theme file discovery.Related Functions: get_block_file_template, get_block_template, get_block_templates, register_block_template, _get_block_template_file, resolve_block_template