Glossary Term
get_registered_settings()
get_registered_settings() — Retrieves an array of registered settings.
Returns array: List of registered settings, keyed by option name. Field (array): …$0 Data used to describe the setting when registered. Field $type (string): The type of data associated with this setting. Valid values are ‘string’, ‘boolean’, ‘integer’, ‘number’, ‘array’, and ‘object’. Field $group (string): The settings group name the setting was registered in. Field $label (string): A label of the data attached to this setting. Field $description (string): A description of the data attached to this setting. Field $sanitize_callback (callable|null): A callback function that sanitizes the option’s value. Field $show_in_rest (bool|array): Whether data associated with this setting should be included in the REST API. When registering complex settings, this argument may optionally be an array with a ‘schema’ key. Field $default (mixed): Default value when calling get_option(). Only present when the setting was registered with a default.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
