Support » Plugin: Registered User Sync ActiveCampaign » Username Sync To Firstname

  • Resolved georgmartin

    (@georgmartin)


    Hello – thank you for this nice plugin!

    How can I sync the Username (from WordPress) into the Firstname Field in ActiveCampaign?

    Background: We are using this plugin to sync people who sign up in our free membership area.

    Thank you!
    Georg

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Pravin Durugkar

    (@pravind)

    Hi @georgmartin
    Thank you for contacting.

    You can use this filter to change any data submitting in the active campaign
    rusac_fetch_registered_user_data

    Add this filter to your function file
    For Ex.

    add_filter('rusac_fetch_registered_user_data', 'custom_rusac_fetch_registered_user_data', 10, 2);
    function custom_rusac_fetch_registered_user_data($user_data, $user_id) {
    	$user_info = get_userdata( $user_id );
    	$user_data['first_name'] = $user_info->user_login;
    	return $user_data;
    }
    Plugin Author Pravin Durugkar

    (@pravind)

    Please rate this plugin if you find usefull

    georgmartin

    (@georgmartin)

    Wonderful – Thank you Pravin!
    I did rate it 5 stars of course!

    Plugin Author Pravin Durugkar

    (@pravind)

    Thank You @georgmartin

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Username Sync To Firstname’ is closed to new replies.