W3cubDocs

/WordPress

apply_filters( ‘wp_using_themes’, bool $wp_using_themes )

Filters whether the current request should use themes.

Parameters

$wp_using_themesbool
Whether the current request should use themes.

Source

return apply_filters( 'wp_using_themes', defined( 'WP_USE_THEMES' ) && WP_USE_THEMES );

Changelog

Version Description
5.1.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_using_themes