wp-includes/option.php:3216Retrieves an array of registered settings.
array...$0array
$typestring
$labelstring
$descriptionstring
$sanitize_callbackcallable
$show_in_restbool|array
$defaultmixed
function get_registered_settings() { global $wp_registered_settings; if ( ! is_array( $wp_registered_settings ) ) { return array(); } return $wp_registered_settings;}Introduced in 4.7.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/option.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.