Warning: This function has been deprecated. Use get_option() instead.
get_settings() WordPress Function
The get_settings() function is used to retrieve a list of all settings for a given Wordpress installation. This function can be used to programmatically retrieve and update settings for a Wordpress site.
get_settings( string $option ) #
Get value based on option.
Description
See also
Parameters
- $option
(string)(Required)
Return
(string)
Source
File: wp-includes/deprecated.php
function get_settings($option) { _deprecated_function( __FUNCTION__, '2.1.0', 'get_option()' ); return get_option($option); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.1.0 | Use get_option() |
0.71 | Introduced. |