A WordPress-centric search engine for devs and theme authors



get_registered_settings ›

Since4.7.0
Deprecatedn/a
get_registered_settings ( No parameters )
Returns:
  • (array) List of registered settings, keyed by option name.
Defined at:
Codex:

Retrieves an array of registered settings.



Source

function get_registered_settings() {
	global $wp_registered_settings;

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

	return $wp_registered_settings;
}