pre_get_product_search_form
Использование
add_action( 'pre_get_product_search_form', 'wp_kama_pre_get_product_search_form_action' ); /** * Function for `pre_get_product_search_form` action-hook. * * @return void */ function wp_kama_pre_get_product_search_form_action(){ // action... }
Где вызывается хук
pre_get_product_search_form
woocommerce/includes/wc-template-functions.php 3263
do_action( 'pre_get_product_search_form' );