get_service_name in page template

Hello,

I’m looking to display the service name (based on the ID) on the front end in a page template. Looking into the plugin code there are functions, such as get_service() and get_service_name() which each take the ID.

These don’t work on within the WP theme. Can we somehow get hold of the service name based on the known ID within theme files?

Many thanks,

Steven

p.s. Can I be cheeky and ask for help on this thread too, https://premium.wpmudev.org/forums/topic/passing-booking-details-to-a-final-page-which-uses-the-app_confirmation#post-320288