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.
1012*1013* @since 6.9.01014*1015* @param bool|WP_Error$met_requirementsTrueif the theme meets requirements, WP_Error if not.1016* @param string$stylesheet Directory name for the theme.1017*/1018returnapply_filters('validate_theme_requirements',true,$stylesheet);1019}10201021/**1022* Retrieves all theme modifications.1023*1024* @since 3.1.0
History
Introduced in 6.9.0. Unchanged from 6.9.7 through 7.1.0.