Make certain plugins required so that they cannot be (easily) deactivated. | Gatekeeper: @aubreypwd
Required: true
to plugin header to make plugin required vs. adding to filtered list #20
Exception
if there is an activation problem
wds_required_plugin_stop_if_not_found
set to true
to throwadd_filter( 'wds_required_plugin_stop_if_not_found', '__return_true' );
composer
now'wds_required_plugin_auto_activate'
- By default required plugins are auto-activated. This filter can disable that.'wds_required_plugin_log_if_not_found'
- By default, missing required plugins will trigger an error in your log. This filter can disable that.'wds_required_plugins_error_log_text'
- Filters the text format for the log entry.README.md