Filters the theme requirement validation response.
Description
If a theme fails due to a Core-provided validation (incompatible WP, PHP versions), this filter will not fire. A WP_Error response will already be returned. This filter is intended to add additional validation steps by site administrators.
Parameters
$met_requirementsbool|WP_Error
True if the theme meets requirements, WP_Error if not.
1009*1010* @since 6.9.01011*1012* @param bool|WP_Error$met_requirementsTrueif the theme meets requirements, WP_Error if not.1013* @param string$stylesheet Directory name for the theme.1014*/1015returnapply_filters('validate_theme_requirements',true,$stylesheet);1016}10171018/**1019* Retrieves all theme modifications.1020*1021* @since 3.1.0
History
Introduced in 6.9.0. Unchanged from 6.9.7 through 7.1.0.