Skip to main content

fc_enable_compat_plugin_{plugin_slug}

Type: Filter

Filters whether to load a plugin compatibility class.

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 load the compatibility file. Any other value skips it.

Signature​

apply_filters( 'fc_enable_compat_plugin_{plugin_slug}', $value );

Parameters​

NameTypeDescription
$valueboolValue to filter. Default true.

Since​

  • 2.0.5

Source: fluid-checkout.php