get_registered_theme_features()

Gets the list of registered theme features.


Return Return

(array[]) List of theme features, keyed by their name.


Top ↑

Source Source

File: wp-includes/theme.php

function get_registered_theme_features() {
	global $_wp_registered_theme_features;

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

	return $_wp_registered_theme_features;
}


Top ↑

Changelog Changelog

Changelog
Version Description
5.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.