• Hi, does anybody know how to make the cache update when the Ultimate Member Profile is saved.
    In this articleanmari says one would have to somehow “add a custom function call” for ultimate Member so that amr knows that the info has been updated. I have no idea what that means.
    Can anyone point me in the right direction? Any help much appreciated.

Viewing 1 replies (of 1 total)
  • Plugin Author anmari

    (@anmari)

    If you talking about updates to the extra um table that um creates, then you’d have to look into the um code and see if they offer an ‘action’ to be added when they do an update. (like the wordpress actions on user updates). Unlikely they do.

    If you talking about the um data in the standard user meta table, the plugin settings will allow to request an update. Please note that this is not immediate – first it schedules a request. This is to avoid say one users updates of which many fields may be updated, triggering a flood of updates. The uypdate will happen a little later on next page refresh, like wp batch jobs do.

    You may be better off choosing a schedule that suits and offering a manual refresh link on the list (see settings).

Viewing 1 replies (of 1 total)
  • The topic ‘Trigger Caching on Ultimate Member Profile Save’ is closed to new replies.