Skip to content

Support for ACF image field return format #32

@raidoa

Description

@raidoa

Hi!

When creating an image field with ACF, wp-rest-blocks does not seem to respect the chosen return format in the ACF field settings.
When I choose "Image URL" or "Image Array", it still returns Image ID in the API.

Chosen settings for the field:
Screenshot 2022-01-26 at 11 08 27

Output in the API:
Screenshot 2022-01-26 at 11 12 27

Not even sure if wp-rest-blocks should respect those settings or is it the responsibility of the ACF plugin instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions