[lcw_contact_sync]
🔄 Shortcode: [lcw_contact_sync]
Description
The [lcw_contact_sync] shortcode is used to
Sync contact data from GoHighLevel (GHL) into your WordPress site.
It updates or creates the corresponding user/contact record in WordPress with the latest data from GHL.
⚠️ Important Caution
Do not use this shortcode everywhere or in automated processes.
It performs a live sync request to GHL, which may affect performance or API limits.
Use this shortcode only when you specifically need to refresh contact data —
for example, after updating a user’s details in GHL and needing them to appear immediately on WordPress.
🧩 Usage
Simply place the shortcode on a page:
[lcw_contact_sync]
✅ When to Use
- After updating the contact information in GoHighLevel.
 - When troubleshooting contact data mismatches between GHL and WP.
 - In a restricted area, not on every page load.
 
🚫 When Not to Use
- Do not place it in headers, footers, or templates that load globally.
 - Avoid using it in scheduled cron jobs or loops unless necessary.
 
