wordpress / latest / classes / wp_list_util / __construct.html

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. View all references

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

Used By

Used By Description

Changelog

Version Description
4.7.0 Introduced.

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