WP Hotel Booking 1.10.5

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

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

Environment
WordPress version6.0.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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 16

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=7a3276e340
Aspect after-activation
HTTP status 200
Load time 1.445 s
Memory usage 5.23 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.382 s
Memory usage 4.3 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
Aspect menu-item
HTTP status 200
Load time 1.340 s
Memory usage 4.43 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.410 s
Memory usage 4.25 MiB
JS errors None
Resource errors None

Rooms → Room Capacities

Page screenshot: Rooms → Room Capacities
URL /wp-admin/edit-tags.php?taxonomy=hb_room_capacity&post_type=hb_room
Aspect menu-item
HTTP status 200
Load time 0.220 s
Memory usage 4.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.299 s
Memory usage 4.3 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.217 s
Memory usage 4.3 MiB
JS errors None
Resource errors None

WP Hotel Booking → Pricing Plans

Page screenshot: WP Hotel Booking → Pricing Plans
URL /wp-admin/admin.php?page=tp_hotel_booking_pricing
Aspect menu-item
HTTP status 200
Load time 0.223 s
Memory usage 4.31 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.384 s
Memory usage 4.26 MiB
JS errors None
Resource errors None

WP Hotel Booking → Settings → Hotel Info

Page screenshot: WP Hotel Booking → Settings → 
							Hotel Info
URL /wp-admin/admin.php?page=tp_hotel_booking_settings&tab=hotel_info
Aspect menu-item-tab
HTTP status 200
Load time 0.276 s
Memory usage 4.25 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.250 s
Memory usage 4.25 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.228 s
Memory usage 4.25 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.339 s
Memory usage 4.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.403 s
Memory usage 4.27 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.689 s
Memory usage 4.11 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.668 s
Memory usage 6.1 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.356 s0.421 s+0.065 s3.72 MiB4.3 MiB+ 587.37 KiB
/wp-admin/edit.php0.194 s0.276 s+0.082 s3.75 MiB4.33 MiB+ 588.08 KiB
/wp-admin/post-new.php0.777 s1.059 s+0.282 s5.55 MiB6.14 MiB+ 610.77 KiB
/wp-admin/upload.php0.413 s0.623 s+0.210 s3.68 MiB4.25 MiB+ 582.42 KiB
/wp-admin/options-writing.php0.172 s0.216 s+0.044 s3.62 MiB4.23 MiB+ 627.58 KiB
/wp-admin/media-new.php0.482 s0.261 s-0.221 s3.66 MiB4.23 MiB+ 585.72 KiB
/wp-admin/edit-tags.php?taxonomy=category0.204 s0.251 s+0.047 s3.69 MiB4.26 MiB+ 586.48 KiB
/wp-admin/post-new.php?post_type=page1.147 s0.826 s-0.321 s5.54 MiB6.13 MiB+ 606.05 KiB
/wp-admin/options-discussion.php0.234 s0.472 s+0.238 s3.6 MiB4.23 MiB+ 648.16 KiB
/wp-admin/edit-comments.php0.228 s0.306 s+0.078 s3.69 MiB4.26 MiB+ 583.69 KiB
/0.304 s0.379 s+0.075 s3.55 MiB4.05 MiB+ 508.26 KiB
Average 0.410 s0.463 s+0.053 s4 MiB4.58 MiB+ 592.23 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
PHP73.7%15,0914,949167
CSS12.7%2,602697
JavaScript10.4%2,13210010
SVG3.2%65202
Total 20,477 5,118 186

PHP Code Analysis | More results »

Lines of code 11,486
Total complexity 2,309
Median class complexity 11.0
Median method complexity 2.0
Most complex class WPHB_Ajax
Most complex function WPHB_Admin_Settings::render_fields()
Classes 71
Methods 440
Functions 215

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 56

Custom Post Types 3

ID Name
hb_roomRooms
hb_bookingBookings
hb_extra_roomExtra Room

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"
        },
        "gallery_settings": {
            "title": "Gallery Settings",
            "context": "normal"
        },
        "hb-booking-items": {
            "title": "Regular Price",
            "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