Skip to content

Conversation

@n7studios
Copy link
Contributor

Summary

When working on this issue to find any content that has Member Content functionality enabled, it was difficult using the current filter on the WP_List_Table, as current filters only permit filtering by a specific Form, Tag or Product:

Screenshot 2025-06-25 at 12 57 30

This PR resolves by adding an All member-only content option to the filter dropdown.

Screenshot 2025-06-25 at 14 03 04

Testing

  • RestrictContentFilterCPTCest:testFilterByAllMemberOnlyContent: Test that filtering by 'All member-only content' works on the CPT screen.
  • RestrictContentFilterPageCest:testFilterByAllMemberOnlyContent: Test that filtering by 'All member-only content' works on the Pages screen.
  • RestrictContentFiltePostCest:testFilterByAllMemberOnlyContent: Test that filtering by 'All member-only content' works on the Posts screen.

Checklist

@n7studios n7studios self-assigned this Jun 25, 2025
@github-actions
Copy link

WordPress Playground

🚀 Your PR has been built and is ready for testing in WordPress Playground!

Click here to test your changes in WordPress Playground

@n7studios n7studios requested review from a team, corydhmiller and noelherrick and removed request for a team June 25, 2025 09:08
@n7studios n7studios marked this pull request as ready for review June 25, 2025 09:08
@n7studios n7studios merged commit e38df33 into main Jun 27, 2025
328 of 349 checks passed
@n7studios n7studios deleted the restrict-content-dropdown-all-gated-content-option branch July 12, 2025 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants