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.8.1

do_action('woocommerce_no_products_found') is found 3 times:

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

  • /src/Blocks/BlockTypes/ClassicTemplate.php line 333
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
         * @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
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
         * 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: