acpt_is_{integration_name}_active
Force any ACPT integration on or off, overriding the automatic activation check
Type: Filter (dynamic name)
Allows forcing any ACPT integration on or off, overriding the automatic activation check (which normally detects whether the target plugin/theme is active). Replace {integration_name} with the integration slug (e.g. elementor, yoast, wpml, facetwp).
Parameters
Parameter
Type
Description
(none)
—
The filter is called with no arguments — its default value is false
Return: bool — true to force the integration on, false (default) to use the automatic check.
Usage
// Force the Elementor integration on even if the plugin check fails
add_filter("acpt_is_elementor_active", fn() => true);Last updated