Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

WP_Screen::__construct() WordPress Method

The WP_Screen::__construct() function initializes a new WP_Screen object. It takes two arguments: the screen id and the screen args. The screen id is a unique identifier for the screen. The screen args is an optional array of arguments that can be used to configure the screen.

WP_Screen::__construct() #

Constructor


Source

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

	private function __construct() {}


Top ↑

Changelog

Changelog
VersionDescription
3.3.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.