syncing register date
-
I’m trying to sync the user’s register date using the following but it doesn’t seem to work.
add_filter( ‘mailchimp_sync_user_data’, function( $data, $user ) {
$udata = get_userdata( $user->ID );
$registered = $udata->user_registered;$data[‘MMERGE19’] = date(“d/m/Y”, strtotime( $registered ));
return $data;
}, 10, 2 );
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘syncing register date’ is closed to new replies.