AffiliateWP – Affiliate Referrals CSV Export

/** * Plugin Name: AffiliateWP – Affiliate Referrals CSV Export * Description: Adds a “Download Referrals CSV” button to the Affiliate Area referrals tab. * When WooCommerce is active, the export includes full order details * (customer name, email, items…Continue reading

AffiliateWP – Admin Notification for Vanity Coupon Code Requests

add_action( ‘wp_ajax_validate_vanity_code’, ‘send_vanity_coupon_request_notification’, 9 ); function send_vanity_coupon_request_notification() { if ( ! isset( $_REQUEST[‘vccNonce’] ) || ! wp_verify_nonce( $_REQUEST[‘vccNonce’], ‘request_vanity_coupon_code’ ) ) { return; } $affiliate_id = isset( $_REQUEST[‘affiliateID’] ) ? sanitize_text_field( $_REQUEST[‘affiliateID’] ) : false; $coupon_id = isset( $_REQUEST[‘couponID’] )…Continue reading

met checkout redirection

add_action(‘init’, function () { add_rewrite_rule(‘^meta-checkout/?$’, ‘index.php?meta_checkout=1’, ‘top’); }); add_filter(‘query_vars’, function ($vars) { $vars[] = ‘meta_checkout’; return $vars; }); add_action(‘template_redirect’, function () { if (!get_query_var(‘meta_checkout’)) { return; } if (!function_exists(‘WC’) || !WC()->cart) { return; } // Clear current cart so Meta…Continue reading

Security Icons for Cart Page

/** * ============================================================ * Cart Page — Security Trust Badge Bar * ============================================================ * * PURPOSE: Adds a clean trust badge row below the “Proceed to * Checkout” button on the cart page to increase * conversion confidence. * *…Continue reading

Delete Double Logo At Checkout

/** * ============================================================ * Hide Duplicate Astra Header on Checkout * ============================================================ * * PURPOSE: Hides the default Astra #masthead header and the * gray shadow box around the checkout page title. * Spectra-built custom header remains visible. * *…Continue reading

Gaurded Pay FAQ

/** * ============================================================ * GUARDEDPAY PRO — Phase 4: FAQ Accordion * ============================================================ * * PURPOSE: Adds 4 FAQ accordion items inside the GuardedPay * payment box, below the gray compliance widget. * Addresses top 4 customer concerns per v3.0…Continue reading

GaurdedPay Checkout Icon Script

/** * ============================================================ * GUARDEDPAY PRO — Phase 2: Heading + Trust Badges (v2) * ============================================================ * * PURPOSE: Injects “Complete Your Order” heading, supporting text, * and trust badges INSIDE the GuardedPay payment method * area — between the…Continue reading