function wprentals_show_booking_form_per_hour_dropdown($item_id, $label, $booking_start_hour, $booking_end_hour, $selected_hour = '') { $i = 0; $list = ''; $selected_hour = ''; if (isset($_GET[$item_id])) { $selected_hour = esc_html($_GET[$item_id]); } $booking_start_hour = intval($booking_start_hour); $booking_end_hour = intval($booking_end_hour); if ($booking_end_hour == 0) { $booking_end_hour = 24; } while ($i <= 23): if ($i >= $booking_start_hour && $i <= $booking_end_hour): $value = $i . ':00'; $list .= '
  • '; endif; $i++; endwhile; $return_string = '
    '; return $return_string; } endif; /* * Show classic guest dropdown for booking form * * * */ if (!function_exists('wpestate_show_booking_form_guest_dropdown')): function wpestate_show_booking_form_guest_dropdown($guest_list) { $return = ''; return $return; } endif; /* * Show advanced guest dropdown for booking form * * * */ if (!function_exists('wpestate_show_advanced_guest_form')): function wpestate_show_advanced_guest_form($label, $position = '',$property_id='') { $controls_array = wpestate_return_advanced_guests_fields(); $extra_conrol_class = ''; $property_id = intval($property_id); $overload_guest = floatval(get_post_meta($property_id, 'overload_guest', true)); $max_guest = floatval(get_post_meta($property_id, 'guest_no', true)); $max_extra_guest_no = floatval(get_post_meta($property_id, 'max_extra_guest_no', true) ); if($property_id!='0' && get_post_type($property_id) =='estate_property'){ $extra_conrol_class= ' on_booking_control'. intval(get_post_meta($property_id,'children_as_guests',true)).' '; } if( isset( $_GET['guest_no_prop'] ) ){ $guest_no_value=intval($_GET['guest_no_prop']); $label= sprintf( _n( '%s Guest', '%s Guests', $guest_no_value, 'wprentals' ), number_format_i18n( $guest_no_value ) ); } $guest_no_value=0; if( isset( $_GET['guest_no'] ) ){ $guest_no_value=intval($_GET['guest_no']); $label= sprintf( _n( '%s Guest', '%s Guests', $guest_no_value, 'wprentals' ), number_format_i18n( $guest_no_value ) ); } https://www.pajasaapartments.com/post-sitemap.xml 2026-10-06T10:35:18+00:00 https://www.pajasaapartments.com/page-sitemap.xml 2026-10-08T02:20:42+00:00 https://www.pajasaapartments.com/estate_property-sitemap.xml 2026-09-21T02:52:48+00:00 https://www.pajasaapartments.com/category-sitemap.xml 2026-10-06T10:35:18+00:00 https://www.pajasaapartments.com/post_tag-sitemap.xml 2026-10-06T10:35:18+00:00 https://www.pajasaapartments.com/property_city-sitemap.xml 2026-09-21T02:52:48+00:00 https://www.pajasaapartments.com/property_area-sitemap.xml 2026-09-21T02:52:48+00:00 https://www.pajasaapartments.com/geo-sitemap.xml 2026-06-05T09:29:24+00:00