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

Use return_format on ACFs within the media site. #52

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

Conversation

tinder-kyleboss
Copy link

This commit will fix issue #51.

The issue is that the media site also needs to respect the
Advanced Custom Fields' return format. In the code we ask it to
kindly skip the formatting of the ACF if we are in the media site.
The fix is to allow the ACF to be formatted, independent of which
site or context the filter is run from.

The issue is that the media site also needs to respect the
Advanced Custom Fields' return format. In the code we ask it to
kindly skip the formatting of the ACF if we are in the media site.
The fix is to allow the ACF to be formatted, independent of which
site or context the filter is run from.
the field value if accessed via the admin panel. (e.g. is_admin()
yields true).
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