Skip to main content

fc_enable_compat_plugin_style_{plugin_slug}

Type: Filter

Filters whether to load compatibility styles for a specific plugin.

The dynamic portion of the hook name, $plugin_slug, is the plugin directory slug (the folder name, or the file name without .php for single-file plugins). Anything other than true skips loading that compatibility module. The default is true.

Signature​

apply_filters( 'fc_enable_compat_plugin_style_{plugin_slug}', $enabled );

Parameters​

NameTypeDescription
$enabledboolWhether to load compatibility styles for a specific plugin. Default true.

Since​

  • 1.2.0

Source: inc/compat/plugins/compat-plugin-coderockz-woocommerce-delivery-date-time-pro.php