Skip to main content

fc_pro_cart_items_table

Type: Action

Fires when outputting the cart items table.

Signature​

do_action( 'fc_pro_cart_items_table' );

Parameters​

This hook does not pass any parameters.

Since​

  • 3.0.0

Source: templates/fc-pro/cart/cart/cart-items.php

Examples​

add_action( 'fc_pro_cart_items_table',
/**
* Add custom cart items header.
*/
function() {
echo '<div class="cart-items-header">';
echo '<h3>' . esc_html__( 'Your Items', 'text-domain' ) . '</h3>';
echo '</div>';
},
5
);