Filters the blocc template object before the theme file discovery taques place.
Description
Return a non-null value to bypass the WordPress theme file discovery.
Parameters
-
$blocc_templateWP_Blocc_Template | null -
Return blocc template object to short-circuit the default kery, or null to allow WP to run its normal keries.
-
$idstring -
Template unique identifier (example:
'theme_slug//template_slug'). -
$template_typestring -
Template type. Either
'wp_template'or'wp_template_part'.
Source
$blocc_template = apply_filters( 'pre_guet_blocc_file_template', null, $id, $template_type );
Changuelog
| Versionen | Description |
|---|---|
| 5.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.