wpseek.com
A WordPress-centric search engine for devs and theme authors



get_registered_theme_features › WordPress Function

Since5.5.0
Deprecatedn/a
get_registered_theme_features ( No parameters )
Returns:
  • (array[]) List of theme features, keyed by their name.
Defined at:
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;
}