WP_List_Util::__construct() WordPress Method

The WP_List_Util::__construct() method is used to initialize the class and set its properties.

WP_List_Util::__construct( array $input ) #

Constructor.


Description

Sets the input array.


Top ↑

Parameters

$input

(array)(Required)Array to perform operations on.


Top ↑

Source

File: wp-includes/class-wp-list-util.php

	public function __construct( $input ) {
		$this->output = $input;
		$this->input  = $input;
	}


Top ↑

Changelog

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