Hooks for before/after the update process fires off

Is there hooks for before/after the update process fires off? We want to code a visual regression testing suite into the process as an add on to mainwp and can’t seem to find the right hooks.

Hi @bessig

You can find all about hooks on our MainWP Dev website: Updates – MainWP Developer

1 Like

Thanks…this 5 hooks per page navigation is terrible…is there a list available? Or are these docs open source and a github repo?

Unfortunately, there’s no list or a GitHub repo. You can search for before_update and after_update to slim down the results.

@bessig Here are the hooks I believe you are looking for - OneTab - Shared tabs

You may replace “after” with “before” in order to get the corresponding sibling hook.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.