fc_vat_enable_compat_edit_address_style_{theme_slug}
Type: Filter
Filters whether to load the edit-address compatibility stylesheet for a theme.
The dynamic portion of the hook name, $theme_slug, is a theme directory slug. The filter runs on the account edit-address screen for the parent theme (get_template()) and the active theme (get_stylesheet()). css/compat/themes/compat-edit-address-{$theme_slug}.css is loaded only when the filtered value is exactly true and that file exists. Returning anything other than true (for example false) skips it. Checkout, edit-address, and account-details styles are separate filters. No edit-address theme stylesheets ship with EU-VAT Assistant.
Signature
apply_filters( 'fc_vat_enable_compat_edit_address_style_{theme_slug}', $enabled );
Parameters
| Name | Type | Description |
|---|---|---|
$enabled | bool | Whether to load the stylesheet. Default true. Anything other than true skips it. |
Since
1.0.2
Source
inc/enqueue.php