Skip to main content

fc_pro_cart_after

Type: Action

Fires after the cart.

Signature​

do_action( 'fc_pro_cart_after' );

Parameters​

This hook does not pass any parameters.

Since​

  • 1.3.0

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

Examples​

add_action( 'fc_pro_cart_after',
/**
* Add cart tracking code.
*/
function() {
if ( ! is_cart() ) { return; }

echo '<script>';
echo 'console.log("Cart page loaded");';
echo '</script>';
},
10
);