theme_location, $search_icon_theme_locations ) ) { return $items; } $liClasses = 'dgwt-wcas-search-menu-item search-toggle-li menu-item wpex-menu-extra'; $menuSearch = '
  • '; if ( Header::style() === 'six' ) { $menuSearch .= do_shortcode( '[fibosearch layout="classic"]' ); } else { $menuSearch .= do_shortcode( '[fibosearch layout="icon"]' ); } $menuSearch .= '
  • '; /** * Filters the header menu search icon position. * * @param $position | options: start or end. */ $menuSearchPosition = apply_filters( 'wpex_header_menu_search_position', 'end' ); switch ( $menuSearchPosition ) { case 'start': $items = $menuSearch . $items; break; case 'end': default; $items = $items . $menuSearch; break; } return $items; }, 11, 2 ); add_action( 'wp_head', function () { $iconSize = get_theme_mod( 'menu_search_icon_size' ); if ( empty( $iconSize ) ) { $iconSize = '14px'; } ?> ' . do_shortcode( '[fibosearch layout="classic"]' ) . ''; ?>
    ' . do_shortcode( '[fibosearch layout="classic"]' ) . '
    '; ?>