[memb_update_contact]

This Applies to

Summary

This shortcode provides a simple way for you to push updates to your Infusionsoft contact fields.

Shortcode Examples

[memb_update_contact fields=FirstName value=Ash]

 

[memb_update_contact fields=FirstName,Nickname value=Ash]

 

[memb_update_contact contact_id=123 fields=FirstName value=Ash]

 

[memb_update_contact fields=FirstName value=ASH txtfmt=strtolower,ucwords]

 

[memb_update_contact fields=_MyCustomField value=123]

Shortcode Parameters​

contact_id:  (Optional) The contact id of the contact to update.  This defaults to the currently logged in user.  If the currently logged in user does not have an Infusionsoft contact id, then no action will be taken.

fields:  (Required) A comma separated list of the Infusionsoft database field names to update.  Read only fields will be ignored.  If multiple fields are specified, then the same value will be written to all of them.

value:  (Required)  The value to push into the field.

date_format: (Optional)  The formatting to use for your date field.  You can read more about the date formatting options here.  You can also use “Infusionsoft” to specify the Infusionsoft native date/time format.

txtfmt:  (Optional) A comma separated list of text processing functions to be used to post process the contact field value before it is sent to Infusionsoft. (?)

 

Shortcode Attributes

Conditional: No (?)
Nestable: No (?)
Accepts formatting: Yes* (?)
Capturable: No (?)

Additional Information

The API function equivalent for this shortcode is as follows:

global $i2sdk;
$updated_fields = array( 'MyFieldName' => $value ) );
$contact_id = (int) memb_getContactId();
$i2sdk->isdk->updateCon( $contact_id, $updated_fields );

  • Was this Helpful?
  • YesNo
9 ways to add more value to your membership site

[memb_update_contact]

This Applies To

Book a Call

Welcome to Memberium!

We are very excited for you to be part of our family. 

We would love to answer any questions that you have!

Please choose the best time for you to get in a call with us. 

For Technical Support, you can contact us at https://memberium.com/support/ or Email us at support@memberium.com.