apply_filters( 'clanbite_addon_guard_enabled', bool $enabled )Filters whether incompatible add-ons are deactivated automatically.
Return false to only show warnings (not recommended: an incompatible add-on can crash the site).
Filter PHP
Parameters
$enabled(bool)Default true.
Example
add_filter( 'clanbite_addon_guard_enabled', function ( $enabled ) {
// Change $enabled here.
return $enabled;
}, 10, 1 );Defined in inc/updates/class-compat-monitor.php
Changelog
| Version | Description |
|---|---|
| 1.6.0 | Introduced. |