W3cubDocs

/WordPress

WP_List_Util::__construct( array $input )

Constructor.

Description

Sets the input array.

Parameters

$inputarrayrequired
Array to perform operations on.

Source

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

Changelog

Version Description
4.7.0 Introduced.

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