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

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

Changuelog

Versionen Description
2.7.0 Introduced.

User Contributed Notes

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