woocommerce_no_products_found

woocommerce_no_products_found

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

do_action('woocommerce_no_products_found') is found 3 times:

  • /includes/wc-template-functions.php line 1018

  • /src/Blocks/BlockTypes/ClassicTemplate.php line 333
    			 * @see wc_no_products_found() Default no products found content (priority 10)
    			 *
    			 * @since 6.3.0
    			 */
    			do_action( 'woocommerce_no_products_found' );
    		}
    
    		/**
    		 * Hook: woocommerce_after_main_content
    		 *
    		 * Called after rendering the main content for a product.
    
  • /templates/archive-product.php line 80
    	 * Hook: woocommerce_no_products_found.
    	 *
    	 * @hooked wc_no_products_found - 10
    	 */
    	do_action( 'woocommerce_no_products_found' );
    }
    
    /**
     * Hook: woocommerce_after_main_content.
     *
     * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
    

See this hook used in plugins: