Improve stubs for WC Bookings

This commit is contained in:
Narek Zakarian 2024-07-22 18:46:22 +04:00
parent 6a71c302b0
commit 6df22c2444
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7

View file

@ -12,3 +12,9 @@
* @return mixed WC_Booking object on success or false on fail
*/
function create_wc_booking( $product_id, $new_booking_data = array(), $status = 'confirmed', $exact = false ) {}
/**
* Returns true if the product is a booking product, false if not
* @return bool
*/
function is_wc_booking_product( $product ) {}