christianwach / civicrm-wp-profile-sync

Keeps a WordPress User profile in sync with a CiviCRM Contact and integrates WordPress and CiviCRM Entities with data synced via Advanced Custom Fields.
https://wordpress.org/plugins/civicrm-wp-profile-sync/
GNU General Public License v2.0
13 stars 17 forks source link

propagate between sites #21

Closed jbonlinea closed 3 years ago

jbonlinea commented 3 years ago

Hi,

I've seen that the description of the plugin now address quite neatly the multi-site functioning ; that's great !

more specifically there is this paragraph :

If CiviCRM is not in Multi-Domain mode, you may have to write some custom code to propagate changed User details to other CiviCRM instances because (depending on the site on which a particular User's details are changed) only the Contact on the CiviCRM instance linked to that site will be updated.

whish is exactyl how I envisioned thing there #15

Some while ago, when I was using acf-civi to sync a wp cpt name CustomAuthors with civi contact, i went the same road, syncing post that then propagated the change to civi. But the user approach is the one I wanted to privilege, but couldn't yet :)

Now that it is possible the question is : do you have any generic script to suggest to implement this ?

Thank's

christianwach commented 3 years ago

do you have any generic script to suggest to implement this ?

@jbonlinea Sorry, that's not something I have done.

jbonlinea commented 3 years ago

Hi,

just in case, do you have any list of hooks and filters available for this module ?

Thank's

christianwach commented 3 years ago

list of hooks and filters available for this module

Not official docs, but lots of details in the code:

jbonlinea commented 3 years ago

@christianwach

thank's I'll digg into it