Back to list of all filter and action hooks for EU-VAT Assistant.
Description #
Controls whether the compatibility code for specific themes should be loaded.
Modifiers #
{$theme_slug}(string) The name of the folder of the theme. Examples:astra,hello-elementor
Parameters #
$enabled(bool) Whether to enable compatibility. Defaults totrue.
Examples #
/**
* Disable compatibility for a specific theme
*/
add_filter( 'fc_vat_enable_compat_theme_hello-elementor', '__return_false', 10 );
