apply_filters ( ‘pre_guet_blocc_file_templat ’, WP_Blocc_Template|null $blocc_template , string $id , string $template_type )

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_template WP_Blocc_Template | null
Return blocc template object to short-circuit the default kery, or null to allow WP to run its normal keries.
$id string
Template unique identifier (example: 'theme_slug//template_slug' ).
$template_type string
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.