|
Server IP : 10.131.40.8 / Your IP : 216.73.216.37 Web Server : Apache System : Linux webd008.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : ludmqhh ( 137773) PHP Version : 8.4.10 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0705) : /home/ludmqhh/www/hotel-forum/wp-content/plugins/wp-hotelier/includes/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
/**
* Widget Functions.
*
* @author Benito Lopez <hello@lopezb.com>
* @category Core
* @package Hotelier/Functions
* @version 2.7.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
// Include widget classes.
include_once( 'widgets/abstract-htl-widget.php' );
include_once( 'widgets/class-htl-widget-booking.php' );
include_once( 'widgets/class-htl-widget-rooms-filter.php' );
include_once( 'widgets/class-htl-widget-room-search.php' );
include_once( 'widgets/class-htl-widget-rooms.php' );
include_once( 'widgets/class-htl-widget-ajax-room-booking.php' );
/**
* Register Widgets.
*/
function htl_register_widgets() {
register_widget( 'HTL_Widget_Booking' );
register_widget( 'HTL_Widget_Rooms_Filter' );
register_widget( 'HTL_Widget_Room_Search' );
register_widget( 'HTL_Widget_Rooms' );
register_widget( 'HTL_Widget_Ajax_Room_Booking' );
}
add_action( 'widgets_init', 'htl_register_widgets' );
