#Overview
This action is triggered whenever WP Fusion has synced metadata to the CRM for a user.
#Parameters
$user_id
: The user ID$contact_id
: The ID of the contact that was updated in the CRM$user_meta
: The metadata that was synced to the CRM
#Examples
#Generic example
function generic_function( $user_id, $contact_id, $user_meta ) {
if ( 'Active' == $user_meta['custom_field_key'] ) {
// Do something here.
}
}
add_action( 'wpf_pushed_user_meta', 'generic_function', 10, 3 );
Was this helpful?
Let us know if you liked the post. That’s the only way we can improve.