apply_filters( 'RCB/Blocker/SkipIfActive', $isActive, $plugin, $identifier, $type ) → {boolean}
Allows you to deactivate a false-positive plugin preset.
Example: Someone has RankMath SEO active, but deactivated the GA function.
Attention: This filter is only applied for active plugins!
Parameters:
Name | Type | Description |
---|---|---|
$isActive |
boolean | |
$plugin |
string | The active plugin (can be slug or file) |
$identifier |
string | The preset identifier |
$type |
string | Can be `cookie` or `blocker` |
- Since:
- 2.6.0
Returns:
- Type
- boolean