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



get_registered_theme_features › WordPress Function

Depuis5.5.0
Dépréciéen/a
get_registered_theme_features ( Pas de paramètres )
Retourne:
  • (array[]) List of theme features, keyed by their name.
Défini(e) dans:
Codex:

Gets the list of registered theme features.



Source

function get_registered_theme_features() {
	global $_wp_registered_theme_features;

	if ( ! is_array( $_wp_registered_theme_features ) ) {
		return array();
	}

	return $_wp_registered_theme_features;
}