wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



validate_theme_requirements › WordPress Filter Hooks

Da6.9.0
Deprecaton/a
› apply_filters( 'validate_theme_requirements', true, $stylesheet )
Parametri: (2)
  • () met_requirements True if the theme meets requirements, WP_Error if not.
    Richiesto: Sì
  • () stylesheet Directory name for the theme.
    Richiesto: Sì
Definito a:
Codex:

Filters the theme requirement validation response.

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.




Sorgenti

return apply_filters( 'validate_theme_requirements', true, $stylesheet );