On this page
apply_filters( 'validate_current_theme', bool $validate )
Filters whether to validate the active theme.
Parameters
$validatebool-
Whether to validate the active theme. Default true.
Source
File: wp-includes/theme.php. View all references
if ( wp_installing() || ! apply_filters( 'validate_current_theme', true ) ) {
Related
Used By
| Used By | Description |
|---|---|
| validate_current_theme() wp-includes/theme.php | Checks that the active theme has the required files. |
Changelog
| Version | Description |
|---|---|
| 2.7.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/validate_current_theme