On this page
get_settings( string $option ): string
This function has been deprecated. Use get_option() instead.
Get value based on option.
Description
See also
Parameters
$optionstring Required
Return
string
Source
File: wp-includes/deprecated.php. View all references
function get_settings($option) {
_deprecated_function( __FUNCTION__, '2.1.0', 'get_option()' );
return get_option($option);
}
Related
Uses
| Uses | Description |
|---|---|
| _deprecated_function() wp-includes/functions.php | Marks a function as deprecated and inform when it has been used. |
| get_option() wp-includes/option.php | Retrieves an option value based on an option name. |
Changelog
| Version | Description |
|---|---|
| 2.1.0 | Use get_option() |
| 0.71 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_settings