W3cubDocs

/WordPress

Walker_Nav_Menu_Checklist::__construct( array|false $fields = false )

Parameters

$fieldsarray|falseoptional
Database fields to use.

Default:false

Source

public function __construct( $fields = false ) {
	if ( $fields ) {
		$this->db_fields = $fields;
	}
}

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