WP Hotel Booking 2.0.8

Does WP Hotel Booking work with WordPress 6.3.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: 529.61 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.3.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=634f35bf5b
Aspect after-activation
HTTP status 200
Load time 1.111 s
Memory usage 3.35 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.256 s
Memory usage 3.32 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.248 s
Memory usage 3.53 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.298 s
Memory usage 3.25 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.283 s
Memory usage 3.32 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.246 s
Memory usage 3.32 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.253 s
Memory usage 3.32 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.236 s
Memory usage 3.26 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.317 s
Memory usage 3.27 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.270 s
Memory usage 3.26 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.236 s
Memory usage 3.26 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.389 s
Memory usage 3.26 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.244 s
Memory usage 3.26 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.408 s
Memory usage 3.25 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.253 s
Memory usage 3.28 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.228 s
Memory usage 3.24 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.424 s
Memory usage 3.7 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 2.263 s
Memory usage 5.72 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.397 s0.394 s-0.003 s2.83 MiB3.33 MiB+ 520.69 KiB
/wp-admin/edit.php0.211 s0.246 s+0.035 s2.85 MiB3.36 MiB+ 523.23 KiB
/wp-admin/post-new.php0.751 s0.886 s+0.135 s5.22 MiB5.79 MiB+ 584.84 KiB
/wp-admin/upload.php0.622 s0.615 s-0.007 s2.77 MiB3.25 MiB+ 494.93 KiB
/wp-admin/options-writing.php0.209 s0.242 s+0.033 s2.76 MiB3.26 MiB+ 511.22 KiB
/wp-admin/media-new.php0.443 s0.263 s-0.180 s2.74 MiB3.24 MiB+ 512.07 KiB
/wp-admin/edit-tags.php?taxonomy=category0.201 s0.268 s+0.067 s2.76 MiB3.28 MiB+ 537.09 KiB
/wp-admin/post-new.php?post_type=page0.600 s0.656 s+0.056 s5.21 MiB5.78 MiB+ 580.43 KiB
/wp-admin/options-discussion.php0.235 s0.399 s+0.164 s2.75 MiB3.26 MiB+ 520.78 KiB
/wp-admin/edit-comments.php0.270 s0.300 s+0.030 s2.78 MiB3.29 MiB+ 515.88 KiB
/0.297 s0.362 s+0.065 s3.13 MiB3.64 MiB+ 524.5 KiB
Average 0.385 s0.421 s+0.036 s3.25 MiB3.77 MiB+ 529.61 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
PHP67.2%20,6216,443236
CSS16.7%5,13719613
JavaScript13.9%4,26632618
SVG2.1%65202
HTML0.0%4102
Total 30,680 6,975 271

PHP Code Analysis | More results »

Lines of code 15,132
Total complexity 2,837
Median class complexity 11.0
Median method complexity 2.0
Most complex class WPHB_Ajax
Most complex function WPHB_Admin_Settings::render_fields()
Classes 98
Methods 593
Functions 224

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 52

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