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 c45d8c8 commit c4ba968Copy full SHA for c4ba968
admin/class-nginx-helper-admin.php
@@ -717,12 +717,16 @@ 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' );
+ if ( 'purge' === $action ) {
+
+ /**
+ * Fire an action after the entire cache has been purged whatever caching type is used.
+ *
+ * @since 2.2.2
726
+ */
727
+ do_action( 'rt_nginx_helper_after_purge_all' );
728
729
+ }
730
731
wp_redirect( esc_url_raw( $redirect_url ) );
732
exit();
0 commit comments