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

do_action('woocommerce_after_main_content') is found 4 times:

  • /src/Blocks/BlockTypes/ClassicTemplate.php line 226
    		 * @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
    		 * @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
     * 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: