Getting numeric value of booking ID

[ad_1]

Hi. It looks like the {Booking ID} tag returns the booking ID with the ‘#’ number sign in front of the booking number – i.e. #1525. I need the numbers of the booking ID only. I tried example #3 from this post but that didn’t make a difference:

https://www.wpbookingsystem.com/documentation/creating-custom-dynamic-tags/

I also tried using a few functions, such as preg_match_all(), but no difference either. I’m guessing the # is being added down the line.

I really would expect an ID field to not have any formatting on the value. Can you suggest a way to obtain this?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer