fc_vat_enable_compat_{$page}_plugin_style_{$plugin_slug}

Back to list of all filter and action hooks for EU-VAT Assistant.

Description #

Controls whether styles for specific pages and plugins should be loaded.

Modifiers #

  • {$page} (string) Defines the specific page or context where the compatibility styles apply.
    • Checkout page: For the checkout page, this modifier does not exist. Use the hook name:
      fc_vat_enable_compat_plugin_style_{$plugin_slug}
    • Other pages: The modifier accepts the following values:
      account_details, edit_address
  • {$plugin_slug} (string) The name of the folder of the plugin. Example: fluid-checkout.

Parameters #

  • $enabled (bool) Whether the compatibility styles for this plugin should be enabled or not. Defaults to true.

Examples #

Checkout #

Note that for the checkout page no {$page} modifier is used: fc_vat_enable_compat_plugin_style_{$plugin_slug}

/**
 * Disable Checkout plugin style compatibility
 */
add_filter( 'fc_vat_enable_compat_plugin_style_woocommerce-germanized-pro', '__return_false', 10 );

Edit address #

/**
 * Disable edit address plugin style compatibility
 */
add_filter( 'fc_vat_enable_compat_edit_address_plugin_style_woocommerce-germanized-pro', '__return_false', 10 );

Account Details #

/**
 * Disable account details plugin style compatibility
 */
add_filter( 'fc_vat_enable_compat_account_details_plugin_style_woocommerce-germanized-pro', '__return_false', 10 );

What are your feelings

Updated on December 15, 2025