WordPress at Your Fingertips
function is not described

WP_MS_Sites_List_Table::__construct() public WP 3.1.0

Constructor.

{} It's a method of the class: WP_MS_Sites_List_Table{}

No Hooks.

Return

null. Nothing.

Usage

$WP_MS_Sites_List_Table = new WP_MS_Sites_List_Table();
$WP_MS_Sites_List_Table->__construct( $args );
$args(array)
An associative array of arguments.
Default: array()

Notes

Changelog

Since 3.1.0 Introduced.

Code of WP_MS_Sites_List_Table::__construct() WP 5.8.2

public function __construct( $args = array() ) {
	$this->status_list = array(
		'archived' => array( 'site-archived', __( 'Archived' ) ),
		'spam'     => array( 'site-spammed', _x( 'Spam', 'site' ) ),
		'deleted'  => array( 'site-deleted', __( 'Deleted' ) ),
		'mature'   => array( 'site-mature', __( 'Mature' ) ),
	);

	parent::__construct(
		array(
			'plural' => 'sites',
			'screen' => isset( $args['screen'] ) ? $args['screen'] : null,
		)
	);
}