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.
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;
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 4.7.0 | Introduced. |