Pay to Read 2.0

Does Pay to Read work with WordPress 7.0.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
3PHP warnings
4PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version7.0.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/pay-to-read/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

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=pay-to-read%2Fpay-to-read.php&plugin_status=all&paged=1&s&_wpnonce=33a3f7b12e
Aspect after-activation
HTTP status 200
Load time 0.945 s
Memory usage 3.92 MiB
JS errors None
Resource errors None

Premium Posts

Page screenshot: Premium Posts
URL /wp-admin/edit.php?post_type=p2r_premium_posts
Aspect menu-item
HTTP status 200
Load time 0.474 s
Memory usage 3.94 MiB
JS errors None
Resource errors None

Premium Posts → Add New Premium Post

Page screenshot: Premium Posts → Add New Premium Post
URL /wp-admin/post-new.php?post_type=p2r_premium_posts
Aspect menu-item
HTTP status 200
Load time 1.114 s
Memory usage 4.03 MiB
JS errors None
Resource errors None

Premium Posts → Premium Posts Category

Page screenshot: Premium Posts → Premium Posts Category
URL /wp-admin/edit-tags.php?taxonomy=premium_posts_category&post_type=p2r_premium_posts
Aspect menu-item
HTTP status 200
Load time 0.675 s
Memory usage 3.89 MiB
JS errors None
Resource errors None

Pay to Read Plugin

Page screenshot: Pay to Read Plugin
URL /wp-admin/admin.php?page=loopwi_p2r
Aspect menu-item
HTTP status 200
Load time 1.018 s
Memory usage 4.03 MiB
JS errors None
Resource errors None

Pay to Read Plugin → Settings

Page screenshot: Pay to Read Plugin → Settings
URL /wp-admin/admin.php?page=loopwi_p2r_settings
Aspect menu-item
HTTP status 200
Load time 0.797 s
Memory usage 4.03 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.319 s
Memory usage 4.26 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.625 s0.745 s+0.120 s3.92 MiB3.96 MiB+ 37.84 KiB
/wp-admin/edit.php0.568 s0.519 s-0.049 s3.98 MiB4.02 MiB+ 37.13 KiB
/wp-admin/post-new.php2.003 s1.829 s-0.174 s6.56 MiB6.61 MiB+ 50.69 KiB
/wp-admin/upload.php0.750 s0.675 s-0.075 s3.89 MiB3.91 MiB+ 19.57 KiB
/wp-admin/options-writing.php0.548 s0.501 s-0.047 s3.86 MiB3.88 MiB+ 23.56 KiB
/wp-admin/media-new.php0.573 s0.531 s-0.042 s3.85 MiB3.88 MiB+ 31.76 KiB
/wp-admin/edit-tags.php?taxonomy=category0.590 s0.915 s+0.325 s3.86 MiB3.9 MiB+ 36.93 KiB
/wp-admin/post-new.php?post_type=page1.830 s1.443 s-0.387 s6.55 MiB6.59 MiB+ 42.21 KiB
/wp-admin/options-discussion.php0.666 s0.670 s+0.004 s3.86 MiB3.88 MiB+ 20.06 KiB
/wp-admin/edit-comments.php0.524 s0.923 s+0.399 s3.88 MiB3.9 MiB+ 20.37 KiB
/0.291 s0.363 s+0.072 s4.23 MiB4.26 MiB+ 36.19 KiB
Average 0.815 s0.829 s+0.013 s4.4 MiB4.44 MiB+ 32.39 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.

CSS
SVG
Language % Lines of code Comment lines Files
CSS73.8%8,6382347
SVG22.5%2,63032
PHP3.6%418644
JavaScript0.1%1301
Total 11,699 301 14

PHP Code Analysis | More results »

Lines of code 260
Total complexity 26
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function loopwi_post__shortcode()
Classes 0
Methods 0
Functions 15

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 2

Options wp_options 1

Custom Post Types 1

ID Name
p2r_premium_postsPremium Posts

Meta Boxes

{
    "p2r_premium_posts": {
        "p2r_box_id": {
            "title": "YOUR CHARGE FOR READERS OF READ THIS ARTICLE",
            "context": "advanced"
        }
    },
    "p2r_cpt": {
        "p2r_box_id": {
            "title": "YOUR CHARGE FOR READERS OF READ THIS ARTICLE",
            "context": "advanced"
        }
    }
}

PHP Error Log 7 lines

[31-Jul-2026 00:49:09 UTC] PHP Warning:  Attempt to read property "pid" on null in /wp-content/plugins/pay-to-read/pay-to-read.php on line 89
[31-Jul-2026 00:49:16 UTC] PHP Deprecated:  Function print_emoji_styles is <strong>deprecated</strong> since version 6.4.0! Use wp_enqueue_emoji_styles instead. in /wp-includes/functions.php on line 6170
[31-Jul-2026 00:49:16 UTC] PHP Deprecated:  Function wp_admin_bar_header is <strong>deprecated</strong> since version 6.4.0! Use wp_enqueue_admin_bar_header_styles instead. in /wp-includes/functions.php on line 6170
[31-Jul-2026 00:49:16 UTC] PHP Warning:  Undefined variable $site_code in /wp-content/plugins/pay-to-read/includes/dashboard.php on line 19
[31-Jul-2026 00:49:16 UTC] PHP Warning:  Undefined variable $site_code in /wp-content/plugins/pay-to-read/includes/dashboard.php on line 39
[31-Jul-2026 00:49:17 UTC] PHP Deprecated:  Function print_emoji_styles is <strong>deprecated</strong> since version 6.4.0! Use wp_enqueue_emoji_styles instead. in /wp-includes/functions.php on line 6170
[31-Jul-2026 00:49:17 UTC] PHP Deprecated:  Function wp_admin_bar_header is <strong>deprecated</strong> since version 6.4.0! Use wp_enqueue_admin_bar_header_styles instead. in /wp-includes/functions.php on line 6170
See also: All tests for this plugin, How to Hide Pay to Read Admin Menus and Meta Boxes