Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
example of affiliates_stored_affiliate action
add_action( 'affiliates_stored_affiliate', 'connecting_crm_api_affiliates_stored_affiliate', 10, 2 );
function connecting_crm_api_affiliates_stored_affiliate ( $affiliate_id, $affiliate_user_id ) {
// This function is launched when a new affiliate is created
// Here you can add your crm api code
// ....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.