Would you consider adding a filter to $flush_actions so that we can easily add our own actions to this?
In case you're curious, I'd be looking to add things like:
wp_update_nav_menu
wp_update_nav_menu_item
wp_add_nav_menu_item
delete_widget // (I wish I could also flush the cache on add/edit a widget, but that doesn't seem possible at the moment - https://core.trac.wordpress.org/ticket/59908 )
Would you consider adding a filter to $flush_actions so that we can easily add our own actions to this?
In case you're curious, I'd be looking to add things like:
wp_update_nav_menu wp_update_nav_menu_item wp_add_nav_menu_item delete_widget // (I wish I could also flush the cache on add/edit a widget, but that doesn't seem possible at the moment - https://core.trac.wordpress.org/ticket/59908 )