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

Different type of response #28

Open
NBibikov opened this issue Sep 28, 2015 · 1 comment
Open

Different type of response #28

NBibikov opened this issue Sep 28, 2015 · 1 comment

Comments

@NBibikov
Copy link

Hi! Thanks for plugin!

I want get url for category with ACF to WP API, but have problem. When data exist, plugin send through JSON - dictionary, when not - bool value. How it can fix? I need response with dictionary in both situation

{
    ID = 178;
    acf =     {
        imageforcategory = "http://xxx/wp-content/uploads/2015/09/image.jpg";
    };
 {
        ID = 24;
        acf = 0;
@chrishutchinson
Copy link
Contributor

Hey @NBibikov,

I'm not sure I entirely understand what you're expecting, could you post your ACF configuration so I can re-produce it locally? It'd be good to know what you're expected output is too.

Thanks!

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

No branches or pull requests

2 participants