apply_filters( ‘validate_current_theme’, bool $validate )

In this article

Filters whether to validate the active theme.

Parameters

$validatebool
Whether to validate the active theme. Default true.

Source

if ( wp_installing() || ! apply_filters( 'validate_current_theme', true ) ) {

Changelog

VersionDescription
2.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.