validate_plugin_requirements


validate_plugin_requirements ( $plugin )

Parameters:
  • (string) $plugin Path to the plugin file relative to the plugins directory.
Returns:
  • (true|WP_Error) True if requirements are met, WP_Error on failure.
Defined at:

Description

Validate the plugin requirements for WP version and PHP version.

Related Functions

validate_plugin, validate_active_plugins, wp_validate_redirect, validate_username, validate_blog_form

Top Google Results

User discussions

wpseek mobile