WP_Screen::get_option

SummerySummery

Gets the arguments for an option for the screen.

Syntax

WP_Screen::get_option( string $option, string $key = false )

ParametersParameters

$option

(string) (Required) Option name.

$key

(string) (Optional) Specific array key for when the option is an array.

Default value: false

ReturnReturn

(string) The option value if set, null otherwise.

SourceSource

File: wp-admin/includes/class-wp-screen.php


			

ChangelogChangelog

Changelog
Version Description
3.3.0 Introduced.
Scroll to Top