validate_current_theme WordPress Filter Hook
The validate_current_theme WordPress hook is used to validate the current theme. This hook is called before the theme is loaded.
apply_filters( 'validate_current_theme', bool $validate ) #
Filters whether to validate the active theme.
Parameters
- $validate
(bool)Whether to validate the active theme. Default true.
Source
File: wp-includes/theme.php
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |