Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_using_themes ›

Da5.1.0
Deprecaton/a
wp_using_themes ( Nessun parametro )
Ritorna:
  • (bool) True if themes should be used, false otherwise.
Definito a:
Codex:

Determines whether the current request should use themes.



Sorgenti

function wp_using_themes() {
	/**
	 * Filters whether the current request should use themes.
	 *
	 * @since 5.1.0
	 *
	 * @param bool $wp_using_themes Whether the current request should use themes.
	 */
	return apply_filters( 'wp_using_themes', defined( 'WP_USE_THEMES' ) && WP_USE_THEMES );
}