Hotel plugin REST API languages

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1421740
    Gábor Sándor
    Participant

    Hello
    I try to use the REST API of the Hotel booking plugin but I am not able to fetch the items in every languages. For example I get the accommodation_types GET API and it gives back only the default languages (I set 4 languages on the admin page). Is it possible to get all languages as well?

    Thanks: Gábor

    #1423423
    Alex M
    Participant

    Add lang parameter.
    Example: /wp-json/mphb/v1/accommodation_types/?lang=de

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.