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() {}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |