get_registered_settings()

Retrieves an array of registered settings.


Return

(array) List of registered settings, keyed by option name.


Source

File: wp-includes/option.php

function get_registered_settings() {
	global $wp_registered_settings;

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

	return $wp_registered_settings;
}


Changelog

Changelog
Version Description
WP-4.7.0 Introduced.