W3cubDocs

/WordPress

get_settings( string $option )

This function has been deprecated. Use get_option() instead.

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);
}

Changelog

Version Description
2.1.0 Use get_option()
0.71 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_settings