wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_using_themes › WordPress Function

Depuis5.1.0
Dépréciéen/a
wp_using_themes ( Pas de paramètres )
Retourne:
  • (bool) True if themes should be used, false otherwise.
Défini(e) dans:
Codex:

Determines whether the current request should use themes.



Source

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 );
}