Home / Admin / After Checkout Event in EDD
Duplicate Snippet

Embed Snippet on Your Site

After Checkout Event in EDD

This snippet would stop sending cart abandonment campaigns to your push subscribers as the purchase goal is completed.

Code Preview
php
<?php
add_action( 'edd_order_receipt_before_table', 'pe_edd_checkout_script' );
function pe_edd_checkout_script($order) {
  $cart_campaign_name = 'Enter cart abandonment campaign name';
  do_action('pe_wpcode_edd_checkout_script', $order, $cart_campaign_name);
}

Comments

Add a Comment