mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Improve stubs for WC Bookings
This commit is contained in:
parent
6a71c302b0
commit
6df22c2444
1 changed files with 6 additions and 0 deletions
|
@ -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 ) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue