Walker_Nav_Menu_Checklist::__construct()
Method of the class: Walker_Nav_Menu_Checklist{}
No Hooks.
Return
null
. Nothing (null).
Usage
$Walker_Nav_Menu_Checklist = new Walker_Nav_Menu_Checklist(); $Walker_Nav_Menu_Checklist->__construct( $fields );
- $fields(array|false)
- Database fields to use.
Default: false
Walker_Nav_Menu_Checklist::__construct() Walker Nav Menu Checklist:: construct code WP 6.6.2
public function __construct( $fields = false ) { if ( $fields ) { $this->db_fields = $fields; } }