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.


Top ↑

Source

File: wp-includes/theme.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.7.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More