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

Top ↑

See also


Top ↑

Parameters

$option

(string)(Required)


Top ↑

Return

(string)


Top ↑

Source

File: wp-includes/deprecated.php

function get_settings($option) {
	_deprecated_function( __FUNCTION__, '2.1.0', 'get_option()' );

	return get_option($option);
}


Top ↑

Changelog

Changelog
VersionDescription
2.1.0Use get_option()
0.71Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More