This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Change Your calendar starting date based on your availability rule. | |
* Created at : 27th June 2019 | |
*/ | |
add_filter( 'ph_booking_calendar_start_date', 'ph_booking_calendar_start_date',10, 2 ); | |
function ph_booking_calendar_start_date($start_date,$product_id) | |
{ | |
// return $message; | |
$fixed_availability_from = get_post_meta( $product_id, "_phive_fixed_availability_from", 1 ); |
NewerOlder