New filter for $feed
This is a feature request. Currently, the 'feed' urls are called every time a post is purged. In my case, this is not required but there is no way to override the 'feed' parameter, which defaults to true.
So please add a filter in the method 'purge_url' that allows users to override the value of feed, something like:
$feed = apply_filters( 'rt_nginx_helper_purge_feed', $feed );
Thanks
I think adding a setting would make it much easier to check and uncheck feeds URL purge for everyone.
QA Details
-
QA Branch:
- Develop
-
List of tasks needs to be reviewed/tested:
- Purge Feeds setting (Newly added).
- Ability to uncheck/check the options in settings panel.
- A general test, wether all the options are working after being checked.
- Purge Feeds setting (Newly added).
Plugin's settings panel path: wp-admin > Settings > Nginx Helper.
PR Link: https://github.com/rtCamp/nginx-helper/pull/294/
Hi @Pathan-Amaankhan, Verified the setting option, and it appears to be working fine. Able to check/uncheck the other options properly and enable disable the purging.