fc_vat_enable_compat_theme_{theme_slug}
Type: Filter
Aliases: fc_vat_enable_compat_theme_cartzilla
Filters whether to load the PHP compatibility file for a theme.
The dynamic portion of the hook name, $theme_slug, is a theme directory slug. The filter runs for the parent theme (get_template()) and the active theme (get_stylesheet()). The file inc/compat/themes/compat-theme-{$theme_slug}.php is loaded only when the filtered value is exactly true and that file exists inside this plugin. Returning anything other than true (for example false) disables it.
Possible hook names include:
fc_vat_enable_compat_theme_cartzilla
Signature
apply_filters( 'fc_vat_enable_compat_theme_{theme_slug}', $enabled );
Parameters
| Name | Type | Description |
|---|---|---|
$enabled | bool | Whether to load the compatibility file. Default true. Anything other than true skips it. |
Since
0.1.0
Source
fc-vat-assistant.php