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

Amazon Affiliate Disclosure Bottom

— I appreciate you using my affiliate links to purchase in support of the information shared here. ❤️ I independently review everything I recommend and have found this to be much less obnoxious than display ads. Running a reliable website…Continue reading