پرش به محتویات

"Action: bricks/archive_product/after"

پس از رندر محتوای Bricks در صفحه آرشیو محصول WooCommerce — وقتی قالب Bricks استفاده می‌شود — اجرا می‌شود. این action مخصوص آرشیوهای WooCommerce رندرشده با Bricks است.

پارامترها

  • $bricks_data (array): The Bricks data for the template being rendered.
  • $post_id (int): The ID of the post/archive being rendered.

نمونه استفاده

add_action( 'bricks/archive_product/after', function( $bricks_data, $post_id ) {
    // Output custom content after the product archive
    echo '<div class="custom-archive-footer">End of product list</div>';
} );