WP_List_Util::__construct()publicWP 4.7.0

Constructor.

Sets the input array.

Method of the class: WP_List_Util{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_List_Util = new WP_List_Util();
$WP_List_Util->__construct( $input );
$input(array) (required)
Array to perform operations on.

Changelog

Since 4.7.0 Introduced.

WP_List_Util::__construct() code WP 6.5.2

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