WP_Customize_Control::value

SummerySummery

Fetch a setting’s value.

Syntax

WP_Customize_Control::value( string $setting_key = 'default' )

DescriptionDescription

Grabs the main setting by default.

ParametersParameters

$setting_key

(string) (Optional)

Default value: 'default'

ReturnReturn

(mixed) The requested setting's value, if the setting exists.

SourceSource

File: wp-includes/class-wp-customize-control.php


			

ChangelogChangelog

Changelog
Version Description
3.4.0 Introduced.
Scroll to Top