WordPress at a glance
filter is not described

wp_using_themes filter-hook . WP 5.1.0

Filters whether the current request should use themes.

Usage

add_filter( 'wp_using_themes', 'filter_function_name_2487' );
function filter_function_name_2487( $wp_using_themes ){
	// filter...

	return $wp_using_themes;
}
$wp_using_themes(true/false)
Whether the current request should use themes.

Список изменений

С версии 5.1.0 Введена.

Где вызывается хук

wp_using_themes()
wp_using_themes
wp-includes/load.php 1427
return apply_filters( 'wp_using_themes', defined( 'WP_USE_THEMES' ) && WP_USE_THEMES );

Где используется хук в ядре WP

wp-includes/load.php 824
add_filter( 'wp_using_themes', '__return_false' );