Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New filter for $feed #281

Open
mattf10 opened this issue Aug 11, 2022 · 3 comments
Open

New filter for $feed #281

mattf10 opened this issue Aug 11, 2022 · 3 comments
Assignees

Comments

@mattf10
Copy link

mattf10 commented Aug 11, 2022

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

@gagan0123
Copy link
Member

I think adding a setting would make it much easier to check and uncheck feeds URL purge for everyone.

@Pathan-Amaankhan
Copy link
Member

Pathan-Amaankhan commented Apr 9, 2024

QA Details

  • QA Branch:

    • Develop
  • List of tasks needs to be reviewed/tested:

    • Purge Feeds setting (Newly added).
      217455879-d934ef0e-9d54-49fa-916f-14c5f606df03
    • Ability to uncheck/check the options in settings panel.
    • A general test, wether all the options are working after being checked.

Plugin's settings panel path: wp-admin > Settings > Nginx Helper.
PR Link: #294

@pavanpatil1
Copy link
Contributor

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.

image

Pathan-Amaankhan added a commit that referenced this issue Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants