pre_get_product_search_form

pre_get_product_search_form

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

do_action('pre_get_product_search_form') is found 1 times:

  • /includes/wc-template-functions.php line 3122
    		if ( empty( $product_search_form_index ) ) {
    			$product_search_form_index = 0;
    		}
    
    		do_action( 'pre_get_product_search_form' );
    
    		wc_get_template(
    			'product-searchform.php',
    			array(
    				'index' => $product_search_form_index++,
    			)