woocommerce_after_main_content

woocommerce_after_main_content

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_after_main_content') is found 4 times:

  • /src/Blocks/BlockTypes/ClassicTemplate.php line 226
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
         * @see woocommerce_output_content_wrapper_end() Outputs closing DIV for the content (priority 10)
         *
         * @since 6.3.0
         */
        do_action( 'woocommerce_after_main_content' );
     
        wp_reset_postdata();
     
        return ob_get_clean();
    }
  • /src/Blocks/BlockTypes/ClassicTemplate.php line 345
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
         * @see woocommerce_output_content_wrapper_end() Outputs closing DIV for the content (priority 10)
         *
         * @since 6.3.0
         */
        do_action( 'woocommerce_after_main_content' );
     
        wp_reset_postdata();
        return ob_get_clean();
    }
     
    /**
  • /templates/archive-product.php line 88
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    * Hook: woocommerce_after_main_content.
     *
     * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
     */
    do_action( 'woocommerce_after_main_content' );
     
    /**
     * Hook: woocommerce_sidebar.
     *
     * @hooked woocommerce_get_sidebar - 10
     */
  • /templates/single-product.php line 47

    * woocommerce_after_main_content hook.
    *
    * @hooked woocommerce_output_content_wrapper_end – 10 (outputs closing divs for the content)
    */
    do_action( ‘woocommerce_after_main_content’ );
    ?>

See this hook used in plugins: