Creating a cache but cant seem to find add_widget or edit_widget do_action

Question

Creating a cache plugin when i edit / delete / add post etc, it will reset the cache but can’t find add_widget or edit_widget. Does anyone have the answer? What other do_action am I missing here?

            add_action( 'transition_post_status', 'qcache_reset');

            add_action('add_attachment','qcache_reset');
            add_action('edit_attachment','qcache_reset');
            add_action('delete_attachment','qcache_reset');

            add_action('delete_widget','qcache_reset');
0
samwongdotcom 4 months 0 Answers 17 views 0

Leave an answer