fc_enable_compat_plugin_edit_address_style_{plugin_slug}
Type: Filter
Filters whether to enqueue a plugin compatibility stylesheet on the account edit-address screen.
The dynamic portion of the hook name, $plugin_slug, refers to the plugin directory slug (or the plugin file name without .php for single-file plugins). Return boolean true to enqueue the stylesheet. Any other value skips it.
Signature
apply_filters( 'fc_enable_compat_plugin_edit_address_style_{plugin_slug}', $value );
Parameters
| Name | Type | Description |
|---|---|---|
$value | bool | Value to filter. Default true. |
Since
3.1.6
Source: inc/enqueue.php
Examples
In fc_enable_compat_plugin_edit_address_style_{plugin_slug}, fc-vat-assistant replaces {plugin_slug}.
add_filter( 'fc_enable_compat_plugin_edit_address_style_fc-vat-assistant',
/**
* Disable edit address plugin style compatibility.
*
* @param bool $value Value to filter. Default true.
* @return bool Filtered value.
*/
function( $value ) {
return false;
},
10
);