WP_Screen::get_options() WordPress Method

The WP_Screen::get_options() method is used to get the options for a particular screen. The options are stored in an associative array and can be retrieved by passing in the option name as a string.

WP_Screen::get_options() #

Get the options registered for the screen.


Return

(array) Options with arguments.


Top ↑

Source

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

	public function get_options() {
		return $this->_options;
	}

Top ↑

Changelog

Changelog
VersionDescription
3.8.0Introduced.

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.