How do I use variable outside of plugin

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1246819
    JEFFREY COCKS
    Participant

    I need to write a custom function for something that is completely outside of the plugin but I need to access to the name of whatever accommodation they have selected that shows up on the Booking Confirmation page.

    I am unable to find a list of hooks or variables for the plugin, so I’m wondering what I can do in my functions.php file to access the selected accommodation’s name?

    #1249336
    J. Davis
    Keymaster

    Hi Jeffrey,

    Thanks for your question however I’m not sure I get your request correctly. Could you please describe it in more detail specifying what exactly you try to achieve so that we could advise you further?
    If you need to add conditional execution of code (if) to certain accommodation types we’d recommend using IDs rather than titles.

    best regards,
    J. Davis.

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