validate_active_plugins
validate_active_plugins ( No parameters )
Returns:- (WP_Error[]) Array of plugin errors keyed by plugin file name.
Defined at: - Introduced in WordPress: 2.5.0
- Deprecated in WordPress: —
Description
Validates active plugins.Validate all active plugins, deactivates invalid and
returns an array of deactivated ones.