Created
January 5, 2017 01:36
-
-
Save adnan360/1f32ec9f69b8426a92d83c1b5027393e to your computer and use it in GitHub Desktop.
Booked plugin snip
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
$args = array( | |
'post_type' => 'booked_appointments', | |
'posts_per_page' => -1, | |
'post_status' => 'any', | |
'meta_query' => array( | |
array( | |
'key' => '_appointment_timestamp', | |
'value' => array( $start_timestamp, $end_timestamp ), | |
'compare' => 'BETWEEN' | |
) | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment