Hotel plugin REST API languages

  • This topic has 1 reply, 2 voices, and was last updated 7 months ago by Alex M.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #1421740
    Gábor Sándor

    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

    Alex M

    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.