alleyinteractive / wp-alleyvate

Defaults for WordPress sites by Alley.
GNU General Public License v2.0
19 stars 2 forks source link

Trigger ES Reindex after a data sync #89

Open vancoder opened 7 months ago

vancoder commented 7 months ago

Description

Use the vip_datasync_cleanup hook to trigger an ES reindex were appropriate. Developers frequently forget to do this manually following a data sync, leading to an inaccurate representation of the site on lower environments.

Potential helper function can be found here.

Use Case

Any data sync on VIP where the site is using ES.