get_registered_settings()

Retrieves an array of registered settings.


Return Return

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


Top ↑

Source 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;
}


Top ↑

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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