Meta fields for v2

This topic contains 3 replies, has 3 voices, and was last updated by  Alex Rollin 5 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #474758

    jonahcoyote
    Expired Member
    Post count: 89

    Hey Guys,

    I’m looking for the meta names for REST API content for v2 that I need for pulling some GD fields into some other work I’m doing external to your plugin. Where can I find the v2 meta field names?

    Thanks!

    #474766

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello,

    You can find everything u need in the GD API endpoints
    /wp-json/geodir/v2/
    /wp-json/geodir/v2/places/

    Thanks,

    Stiofan

    #474781

    jonahcoyote
    Expired Member
    Post count: 89

    Thanks Stiofan, it’s clear now. BTW, I can’t figure out the geodir_ codex for getting the content or “description” of the posts. Can you point me to that?

    Thanks!

    #474820

    Alex Rollin
    Moderator
    Post count: 27815

    In /wp-json/geodir/v2/places/ it is ‘content’
    With GD Post Meta you can use post_content

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket