We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6d5e37 commit c45d8c8Copy full SHA for c45d8c8
admin/class-nginx-helper-admin.php
@@ -717,6 +717,13 @@ public function purge_all() {
717
break;
718
}
719
720
+ /**
721
+ * Fire an action after the cache has been purged whatever caching type is used'
722
+ *
723
+ * @since 2.2.2
724
+ */
725
+ if ( 'purge' === $action ) do_action( 'rt_nginx_helper_after_purge_all' );
726
+
727
wp_redirect( esc_url_raw( $redirect_url ) );
728
exit();
729
0 commit comments