Sync a custom meta field on user registration
-
Hi,
I’m experimenting. I’m using a custom function to add one custom field of new user meta at the same time a new WordPress user is created. That works fine.
But WPF doesn’t sync that custom field to my CRM. The field is linked in Contact Fields settings. It only syncs if I manually go to the user admin and click “Update Profile.”
I think this function is what’s needed, but it didn’t work for me. Any tips on this?
function my_watch_meta_field( $fields ) { $fields[] = 'my_field_name'; return $fields; } add_filter( 'wpf_watched_meta_fields', 'my_watch_meta_field' );
https://wpfusion.com/documentation/filters/wpf_watched_meta_fields/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Sync a custom meta field on user registration’ is closed to new replies.