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

Fix: Tag taxonomy returns empty array #325

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Koli14
Copy link

@Koli14 Koli14 commented Feb 27, 2020

Based on @julesrenaud answer: #245 (comment)

@airesvsg
Copy link
Owner

Hi @Koli14,

Thanks for your PR.

You've tried to use hide_empty in your endpoint?

http://localhost/wp-json/acf/v3/categories?hide_empty=0

Thanks

@Koli14
Copy link
Author

Koli14 commented Feb 27, 2020

Sorry, the PR Title is misleading: Here is my Issue detail:
If I visit /wp-json/wp/v2/tags/471 there is no ACF field. By a Category or a Custom Taxonomy, it's working (e.g /wp-json/wp/v2/categories/4 or wp-json/wp/v2/folders/4. If I go to /wp-json/acf/v3/tags it's an empty array, but working for Categories or Custom Taxonomy. If I visit /wp-json/acf/v3/tags/471, then it has an ACF field as exepted.

@Koli14
Copy link
Author

Koli14 commented Jun 29, 2020

@airesvsg pls consider to merge my pull request.

@Koli14
Copy link
Author

Koli14 commented Aug 4, 2022

Pls consider to merge this PR!

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.

2 participants