Rest Routes – Custom Endpoints for WP REST API 5.5.5

Does "Rest Routes – Custom Endpoints for WP REST API" work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
46PHP deprecation warnings
No JavaScript exceptions
1Page failed to load
  • 1 429
No resource errors
Performance

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

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

Environment
WordPress version6.8.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/rest-routes/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 8

Rest Routes ‹ Test site — WordPress

Page screenshot: Rest Routes ‹ Test site — WordPress
URL /wp-admin/admin.php?page=rest-routes-main
Requested URL /wp-admin/plugins.php?action=activate&plugin=rest-routes%2Frest-routes.php&plugin_status=all&paged=1&s&_wpnonce=fbecaeb804
Aspect after-activation
HTTP status 200
Load time 0.470 s
Memory usage 3.81 MiB
JS errors None
Resource errors None

Rest Routes

Page screenshot: Rest Routes
URL /wp-admin/admin.php?page=rest-routes-main
Aspect menu-item
HTTP status 200
Load time 3.444 s
Memory usage 3.65 MiB
JS errors None
Resource errors None

Rest Routes → Routes

Page screenshot: Rest Routes → Routes
URL /wp-admin/edit.php?post_type=rest-route
Aspect menu-item
HTTP status 200
Load time 0.285 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

Rest Routes → Add New Route

Page screenshot: Rest Routes → Add New Route
URL /wp-admin/admin.php?page=rest-routes-add-new
Aspect menu-item
HTTP status 200
Load time 0.492 s
Memory usage 3.65 MiB
JS errors None
Resource errors None

Rest Routes → Contact Us

Page screenshot: Rest Routes → Contact Us
URL /wp-admin/admin.php?page=rest-routes-main-contact
Aspect menu-item
HTTP status 200
Load time 1.109 s
Memory usage 3.65 MiB
JS errors None
Resource errors None

Rest Routes → Support Forum

Page screenshot: Rest Routes → Support Forum
URL https://wordpress.org/support/plugin/rest-routes
Requested URL /wp-admin/admin.php?page=rest-routes-main-wp-support-forum
Aspect menu-item
HTTP status 429
Load time 0.283 s
Memory usage N/A
JS errors None
Resource errors None

Rest Routes → Upgrade  ➤

Page screenshot: Rest Routes → Upgrade  ➤
URL /wp-admin/admin.php?page=rest-routes-main-pricing
Aspect menu-item
HTTP status 200
Load time 1.314 s
Memory usage 3.65 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.327 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.329 s0.567 s+0.238 s3.51 MiB3.72 MiB+ 221.78 KiB
/wp-admin/edit.php0.197 s0.287 s+0.090 s3.57 MiB3.75 MiB+ 181.61 KiB
/wp-admin/post-new.php0.751 s1.602 s+0.851 s6.06 MiB6.34 MiB+ 288.78 KiB
/wp-admin/upload.php0.595 s0.356 s-0.239 s3.52 MiB3.67 MiB+ 145.57 KiB
/wp-admin/options-writing.php0.195 s0.372 s+0.177 s3.5 MiB3.65 MiB+ 149.56 KiB
/wp-admin/media-new.php0.271 s0.314 s+0.043 s3.49 MiB3.65 MiB+ 157.76 KiB
/wp-admin/edit-tags.php?taxonomy=category0.189 s0.197 s+0.008 s3.5 MiB3.66 MiB+ 162.93 KiB
/wp-admin/post-new.php?post_type=page0.610 s0.759 s+0.149 s6.05 MiB6.33 MiB+ 283.99 KiB
/wp-admin/options-discussion.php0.331 s0.288 s-0.043 s3.5 MiB3.65 MiB+ 146.06 KiB
/wp-admin/edit-comments.php0.200 s0.202 s+0.002 s3.52 MiB3.67 MiB+ 145.56 KiB
/0.294 s0.222 s-0.072 s3.43 MiB3.52 MiB+ 88.55 KiB
Average 0.360 s0.470 s+0.109 s3.97 MiB4.15 MiB+ 179.29 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
PO File
Language % Lines of code Comment lines Files
PHP71.0%38,80417,389200
PO File22.9%12,5027,01710
Sass5.2%2,8628034
Markdown0.5%26807
JavaScript0.4%194503
JSON0.0%2701
CSS0.0%15114
Total 54,672 24,537 269

PHP Code Analysis | More results »

Lines of code 28,610
Total complexity 6,680
Median class complexity 8.0
Median method complexity 2.0
Most complex class Freemius
Most complex function FS_Plugin_Info_Dialog::install_plugin_information()
Classes 108
Methods 1,470
Functions 171

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.

Options wp_options 4

Custom Post Types 1

ID Name
rest-routeRoutes

PHP Error Log 46 lines

[20-Jul-2025 19:42:37 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:42:37 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Jul-2025 19:42:37 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:42:37 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Jul-2025 19:42:38 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:42:38 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Jul-2025 19:42:38 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:42:38 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Jul-2025 19:42:38 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:42:38 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Jul-2025 19:42:39 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:42:39 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Jul-2025 19:42:43 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:42:43 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Jul-2025 19:42:44 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:42:44 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Jul-2025 19:42:45 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:42:45 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Jul-2025 19:42:47 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:42:47 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Jul-2025 19:42:48 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:42:48 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Jul-2025 19:42:51 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:42:51 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Jul-2025 19:42:52 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:42:52 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Jul-2025 19:42:52 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:42:52 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Jul-2025 19:42:55 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:42:55 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Jul-2025 19:42:56 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:42:56 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Jul-2025 19:42:56 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:42:56 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Jul-2025 19:42:57 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:42:57 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Jul-2025 19:42:57 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:42:57 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Jul-2025 19:42:59 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:42:59 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Jul-2025 19:43:00 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:43:00 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Jul-2025 19:43:00 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:43:00 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Jul-2025 19:43:00 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Jul-2025 19:43:00 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
See also: All tests for this plugin, How to Hide Rest Routes – Custom Endpoints for WP REST API Admin Menus