Advertisement
verygoodplugins

Untitled

May 24th, 2022
798
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $contact_id = wp_fusion()->crm->add_contact( $data, false ); //the contact is created correctly
  2.  
  3. if ( ! is_wp_error( $contact_id ) && $apply_tags ) {
  4.     wp_fusion()->crm->apply_tags( (array) $apply_tags, $contact_id );
  5. }
Advertisement
RAW Paste Data Copied
Advertisement