我正在使用 Wordpress、WooCommerce 主题店面的子主题。
店面标头挂钩函数的排序方式如下:
<?php
/**
* Functions hooked into storefront_header action
*
* @hooked storefront_skip_links - 0
* @hooked storefront_social_icons - 10
* @hooked storefront_site_branding - 20
* @hooked storefront_secondary_navigation - 30
* @hooked storefront_product_search - 40
* @hooked storefront_primary_navigation_wrapper - 42
* @hooked storefront_primary_navigation - 50
* @hooked storefront_header_cart - 60
* @hooked storefront_primary_navigation_wrapper_close - 68
*/
do_action( 'storefront_header' ); ?>
我想更改顺序,以便product_search
在secondary_navigation
.
我浏览了店面文件,找不到此订单的设置位置,只能找到单独的项目。
任何人都可以帮我挂钩或做更改订单所需的操作吗?