- This topic has 1 reply, 2 voices, and was last updated 6 months, 3 weeks ago by .
Hi, I’m exploring a mechanism in which the settings page(s) are used to write global CSS-styles. I need to clear cache plugin after an update to the settings has been performed.
I can’t seem to find a way to easily determine if an update has been performed. I can hook the callback with a priority 20 or higher, which makes it run after the save, but don’t want to run it all the time. I know I can hook into
mb_settings_page_loadto do some actions after save, but the
$argsdon’t tell me there has been an update or initial save action. Maybe I’m missing something, can you point me in the right direction?
- You must be logged in to reply to this topic.