Add two actions after custom_purge_url unlink_files and get_request#310
Add two actions after custom_purge_url unlink_files and get_request#310janvitos wants to merge 1 commit intortCamp:masterfrom
Conversation
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.
|
Hello @janvitos, Thank you for your proposed improvement! I've reviewed the request and implemented the actions rt_nginx_helper_after_unlink_purge_urls and rt_nginx_helper_after_get_purge_urls into the custom_purge_url function. These actions fire at appropriate points, allowing developers to hook into the process seamlessly. Key Changes: Triggered after the unlink_files operation in custom_purge_url. Triggered after the get_request operation in custom_purge_url. php add_action( 'rt_nginx_helper_after_unlink_purge_urls', function( $unlink_files, $purge_urls ) { Let me know if further refinements are needed. I’m happy to contribute! |
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.