W3cubDocs

/WordPress

WP_List_Util::__construct( array $input )

Constructor.

Description

Sets the input array.

Parameters

$input

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

Source

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

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

Changelog

Version Description
4.7.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_list_util/__construct