WP Hotel Booking 2.1.8

Does WP Hotel Booking work with WordPress 6.7.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 631.97 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.105 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.7.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 8,000+
WordPress.org page https://wordpress.org/plugins/wp-hotel-booking/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 18

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=wp-hotel-booking%2Fwp-hotel-booking.php&plugin_status=all&paged=1&s&_wpnonce=7d605e1cef
Aspect after-activation
HTTP status 200
Load time 0.989 s
Memory usage 4.17 MiB
JS errors None
Resource errors None

Rooms

Page screenshot: Rooms
URL /wp-admin/edit.php?post_type=hb_room
Aspect menu-item
HTTP status 200
Load time 0.358 s
Memory usage 4.13 MiB
JS errors None
Resource errors None

Rooms → Add New Room

Page screenshot: Rooms → Add New Room
URL /wp-admin/post-new.php?post_type=hb_room&tab=null
Requested URL /wp-admin/post-new.php?post_type=hb_room
Aspect menu-item
HTTP status 200
Load time 1.676 s
Memory usage 4.31 MiB
JS errors None
Resource errors None

Rooms → Room Types

Page screenshot: Rooms → Room Types
URL /wp-admin/edit-tags.php?taxonomy=hb_room_type&post_type=hb_room
Aspect menu-item
HTTP status 200
Load time 0.401 s
Memory usage 4.08 MiB
JS errors None
Resource errors None

WP Hotel Booking

Page screenshot: WP Hotel Booking
URL /wp-admin/edit.php?post_type=hb_booking
Aspect menu-item
HTTP status 200
Load time 0.365 s
Memory usage 4.13 MiB
JS errors None
Resource errors None

WP Hotel Booking → Extra Options

Page screenshot: WP Hotel Booking → Extra Options
URL /wp-admin/edit.php?post_type=hb_extra_room
Aspect menu-item
HTTP status 200
Load time 0.373 s
Memory usage 4.13 MiB
JS errors None
Resource errors None

WP Hotel Booking → Coupons

Page screenshot: WP Hotel Booking → Coupons
URL /wp-admin/edit.php?post_type=hb_coupon
Aspect menu-item
HTTP status 200
Load time 0.460 s
Memory usage 4.13 MiB
JS errors None
Resource errors None

WP Hotel Booking → Settings

Page screenshot: WP Hotel Booking → Settings
URL /wp-admin/admin.php?page=tp_hotel_booking_settings
Aspect menu-item
HTTP status 200
Load time 0.316 s
Memory usage 4.07 MiB
JS errors None
Resource errors None

WP Hotel Booking → Settings → Pages

Page screenshot: WP Hotel Booking → Settings → 
							Pages
URL /wp-admin/admin.php?page=tp_hotel_booking_settings&tab=pages
Aspect menu-item-tab
HTTP status 200
Load time 0.379 s
Memory usage 4.07 MiB
JS errors None
Resource errors None

WP Hotel Booking → Settings → Emails

Page screenshot: WP Hotel Booking → Settings → 
							Emails
URL /wp-admin/admin.php?page=tp_hotel_booking_settings&tab=emails
Aspect menu-item-tab
HTTP status 200
Load time 0.287 s
Memory usage 4.07 MiB
JS errors None
Resource errors None

WP Hotel Booking → Settings → Checkout

Page screenshot: WP Hotel Booking → Settings → 
							Checkout
URL /wp-admin/admin.php?page=tp_hotel_booking_settings&tab=payments
Aspect menu-item-tab
HTTP status 200
Load time 0.289 s
Memory usage 4.07 MiB
JS errors None
Resource errors None

WP Hotel Booking → Settings → Room

Page screenshot: WP Hotel Booking → Settings → 
							Room
URL /wp-admin/admin.php?page=tp_hotel_booking_settings&tab=room
Aspect menu-item-tab
HTTP status 200
Load time 0.298 s
Memory usage 4.07 MiB
JS errors None
Resource errors None

WP Hotel Booking → Settings → Advanced

Page screenshot: WP Hotel Booking → Settings → 
							Advanced
URL /wp-admin/admin.php?page=tp_hotel_booking_settings&tab=advanced
Aspect menu-item-tab
HTTP status 200
Load time 0.321 s
Memory usage 4.07 MiB
JS errors None
Resource errors None

WP Hotel Booking → Calendar Manager

Page screenshot: WP Hotel Booking → Calendar Manager
URL /wp-admin/admin.php?page=tp_hotel_booking_calender_manager
Aspect menu-item
HTTP status 200
Load time 0.474 s
Memory usage 4.07 MiB
JS errors None
Resource errors None

WP Hotel Booking → Tools

Page screenshot: WP Hotel Booking → Tools
URL /wp-admin/admin.php?page=wphb-tools
Aspect menu-item
HTTP status 200
Load time 0.334 s
Memory usage 4.07 MiB
JS errors None
Resource errors None

WP Hotel Booking → Tools → Updates

Page screenshot: WP Hotel Booking → Tools → 
								Updates
URL /wp-admin/admin.php?page=wphb-tools&tab=wphb_update
Aspect menu-item-tab
HTTP status 200
Load time 0.310 s
Memory usage 4.07 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.408 s
Memory usage 3.96 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.695 s
Memory usage 6.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.408 s0.488 s+0.080 s3.48 MiB4.11 MiB+ 644.75 KiB
/wp-admin/edit.php0.203 s0.342 s+0.139 s3.54 MiB4.2 MiB+ 672.61 KiB
/wp-admin/post-new.php0.810 s1.748 s+0.938 s5.93 MiB6.64 MiB+ 728.46 KiB
/wp-admin/upload.php0.781 s0.588 s-0.193 s3.5 MiB4.09 MiB+ 609.4 KiB
/wp-admin/options-writing.php0.231 s0.333 s+0.102 s3.47 MiB4.07 MiB+ 610.98 KiB
/wp-admin/media-new.php0.251 s0.331 s+0.080 s3.46 MiB4.07 MiB+ 619.18 KiB
/wp-admin/edit-tags.php?taxonomy=category0.189 s0.330 s+0.141 s3.48 MiB4.09 MiB+ 624.45 KiB
/wp-admin/post-new.php?post_type=page1.068 s0.875 s-0.193 s5.92 MiB6.63 MiB+ 728.47 KiB
/wp-admin/options-discussion.php0.292 s0.453 s+0.161 s3.48 MiB4.07 MiB+ 608.11 KiB
/wp-admin/edit-comments.php0.429 s0.317 s-0.112 s3.5 MiB4.09 MiB+ 606.23 KiB
/0.347 s0.355 s+0.008 s3.47 MiB3.96 MiB+ 499.09 KiB
Average 0.455 s0.560 s+0.105 s3.93 MiB4.55 MiB+ 631.97 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP65.6%27,9316,991275
CSS14.3%6,10420818
JavaScript13.1%5,58353822
Sass5.3%2,249218
SVG1.6%69303
TypeScript0.0%601
HTML0.0%4102
Total 42,570 7,768 329

PHP Code Analysis | More results »

Lines of code 21,798
Total complexity 3,558
Median class complexity 11.0
Median method complexity 2.0
Most complex class WPHB_Ajax
Most complex function WPHB_Admin_Settings::render_fields()
Classes 128
Methods 871
Functions 230

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 3

Options wp_options 60

Custom Post Types 4

ID Name
hb_roomRooms
hb_bookingBookings Order
hb_extra_roomExtra Room
hb_couponCoupons

Sidebar Widgets 5

ID Name
hb_widget_searchHB Search Rooms
hb_widget_carouselHB Rooms Carousel
hb_widget_best_reviewsHB Rooms Best Reviews
hb_widget_lastest_reviewsHB Rooms Lastest Reviews
hb_widget_cartHB Widget Mini Cart

Meta Boxes

{
    "hb_room": {
        "room_settings": {
            "title": "Room Settings",
            "context": "normal"
        }
    },
    "hb_extra_room": {
        "extra_settings": {
            "title": "Extra Settings",
            "context": "normal"
        }
    },
    "hb_coupon": {
        "coupon_settings": {
            "title": "Coupon Settings",
            "context": "normal"
        }
    },
    "hb_booking": {
        "hb-booking-details": {
            "title": "Booking Details",
            "context": "advanced"
        },
        "hb-booking-items": {
            "title": "Booking Items",
            "context": "advanced"
        },
        "hb-booking-actions": {
            "title": "Booking Actions",
            "context": "side"
        }
    }
}

Roles 2

ID Name
wphb_hotel_managerHotel Manager
wphb_booking_editorBooking Editor

Capabilities 19

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide WP Hotel Booking Admin Menus and Meta Boxes