Skip to content

ACF with translations to rest api #43

@fabiofernandespt

Description

@fabiofernandespt

m using wp rest api to create a decouple website. At this moment i already can recieve data from homepage with this call(using a plugin to make json from api pretty):

mydomain.com/wp-json/better-rest-endpoints/v1/page/homepage and mydomain.com/en/wp-json/better-rest-endpoints/v1/page/homepage

this 2 calls work just fine but, when i create another page for example about-me and make the same calls

mydomain.com/wp-json/better-rest-endpoints/v1/page/about-me and mydomain.com/en/wp-json/better-rest-endpoints/v1/page/about-me

the main language works just fine bue the translation (in this case English) is returning null on ACF object.

is something wrong? the way that i made the translations is the same on both cases

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions