add_action(‘generate_menu_bar_items’, function(){ echo do_shortcode(‘[woocommerce_product_search]’); });