validate_current_theme filter-hook . WP 2.7.0
Filters whether to validate the current theme.
Usage
add_filter( 'validate_current_theme', 'filter_function_name_2729' ); function filter_function_name_2729( $validate ){ // filter... return $validate; }
- $validate(true/false)
- Whether to validate the current theme.
Default: true
Changelog
Since 2.7.0 | Introduced. |
Where the hook is called
validate_current_theme
wp-includes/theme.php 856
if ( wp_installing() || ! apply_filters( 'validate_current_theme', true ) ) {