id field for new listings

This topic contains 1 reply, has 2 voices, and was last updated by  Alex Rollin 5 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #516349

    Rodney Chatman
    Expired Member
    Post count: 89

    Hello,

    What are the standards for generating the ‘id’ field when adding a new listing? Is there a way to have GeoDir create the id if not what would be your recommendation for generating the id via my app before sending a POST request?

    #516362

    Alex Rollin
    Moderator
    Post count: 27815

    WordPress will generate the ID automatically, sequentially.

    It is not possible to generate the ID, it must be done by WP.

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount