fc_vat_enable_compat_theme_{theme_slug}

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 to true.

Examples #

/**
 * Disable compatibility for a specific theme
 */
add_filter( 'fc_vat_enable_compat_theme_hello-elementor', '__return_false', 10 );

What are your feelings

Updated on December 15, 2025