'; } /** * @see Walker::end_lvl() * * @param string $output Passed by reference. Used to append additional content. * @param int $depth Depth of item. * @param array $args */ public function end_lvl( &$output, $depth = 0, $args = array() ) { $output .= ''; } /** * @see Walker::start_el() * * @param string $output Passed by reference. Used to append additional content. * @param object $object Item data object. * @param int $depth Depth of item. * @param int $current_object_id Item ID. * @param array $args */ public function start_el( &$output, $object, $depth = 0, $args = array(), $current_object_id = 0 ) { $label = $this->db_fields['label']; $id = $this->db_fields['id']; $attributes = RWMB_Field::call( 'get_attributes', $this->field, $object->$id ); $output .= sprintf( '