Action
rpress_cart_items_before
Fires before the item rows in the checkout cart table.
Runs in the checkout cart table template, at the start of the table body and before any cart item row is printed.
Example#
function my_cart_items_before() {
echo '<tr><td colspan="3">' . esc_html__( 'Your order', 'my-textdomain' ) . '</td></tr>';
}
add_action( 'rpress_cart_items_before', 'my_cart_items_before', 10, 0 );
Source#
Fired from:
templates/checkout_cart.php(line 25)
See also#
Was this page helpful?
