validate_plugin_requirements

validate_plugin_requirements

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.9

apply_filters('validate_plugin_requirements') is found 1 times:

  • /wp-admin/includes/plugin.php line 1269
    	 *
    	 * @param bool|WP_Error $met_requirements True if the plugin meets requirements, WP_Error if not.
    	 * @param string $plugin Path to the plugin file relative to the plugins directory.
    	 */
    	return apply_filters( 'validate_plugin_requirements', true, $plugin );
    }
    
    /**
     * Determines whether the plugin can be uninstalled.
     *
     * @since 2.7.0