verygoodplugins

Untitled

Feb 13th, 2021 (edited)
91
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Map the usermeta field wp_field_key to the Groundhogg field GHFieldKey
  2.  
  3. $fields_map = ​wp_fusion()->settings->get( 'contact_fields' );
  4. $fields_map['wp_field_key'] = array( 'crm_field' => 'GHFieldKey' );
  5. ​wp_fusion()->settings->set( 'contact_fields', $fields_map );
RAW Paste Data