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

Added: Filter to acf_get_grouped_posts() #945

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

apermo
Copy link

@apermo apermo commented Jan 14, 2025

By adding the filter to acf_get_grouped_posts() this will enable third party users to alter the output.

In our own usecase, the grouping by post type in the Post Object proofed to be irritating to our editorial staff, so we wanted to ungroup them, and just show an [post title] - [post type] in our results. By adding this filter, we would be enabled to do so, without changing anything for anyone else.

Note: We are ACF Pro customer, so we would need this filter in ACF Pro.

@apermo apermo requested a review from a team as a code owner January 14, 2025 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant