item->url = ''; $this->item->title = ''; $this->has_children = false; $this->has_placeholder = (bool) $this->item->placeholder; $this->item->placeholder = $this->has_placeholder ? $this->item->placeholder : esc_html__( 'Search', 'quadmenu' ); } function get_start_el() { $item_output = ''; $this->add_item_classes(); $this->add_item_classes_prefix(); $this->add_item_classes_quadmenu(); $id = $this->get_item_id(); $class = $this->get_item_classes(); $item_output .= ''; $this->add_link_atts(); $this->add_link_atts_toggle(); $item_output .= $this->form(); return $item_output; } function get_search_toggle() { $item_output = $this->get_link(); $item_output .= $this->get_dropdown_wrap_start(); $item_output .= $this->get_search_embed(); $item_output .= $this->get_dropdown_wrap_end(); return $item_output; } function form() { $this->instance = rand(); ob_start(); ?>