From 58635ab1edcb4326224bdf6a0bf643548409fb5e Mon Sep 17 00:00:00 2001 From: janvitos <10037804+janvitos@users.noreply.github.com> Date: Fri, 1 Sep 2023 19:03:37 -0400 Subject: [PATCH] Add two actions after custom_purge_url unlink_files and get_request Added actions rt_nginx_helper_after_unlink_purge_urls and rt_nginx_helper_after_get_purge_urls to fire after custom_purge_url unlink_files and get_request has been completed. --- admin/class-fastcgi-purger.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin/class-fastcgi-purger.php b/admin/class-fastcgi-purger.php index 687d8625..490fa5d0 100644 --- a/admin/class-fastcgi-purger.php +++ b/admin/class-fastcgi-purger.php @@ -132,6 +132,7 @@ public function custom_purge_urls() { } } + do_action( 'rt_nginx_helper_after_unlink_purge_urls' ); } break; @@ -154,6 +155,7 @@ public function custom_purge_urls() { } } + do_action( 'rt_nginx_helper_after_get_purge_urls' ); } break;