PDF Generator For WP 1.5.1

Does PDF Generator For WP work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 175.22 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 version6.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 2,000+
WordPress.org page https://wordpress.org/plugins/pdf-generator-for-wp/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=pdf-generator-for-wp%2Fpdf-generator-for-wp.php&plugin_status=all&paged=1&s&_wpnonce=d0b5e38e88
Aspect after-activation
HTTP status 200
Load time 0.647 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

WP Swings

Page screenshot: WP Swings
URL /wp-admin/admin.php?page=home
Aspect menu-item
HTTP status 200
Load time 0.945 s
Memory usage 3.7 MiB
JS errors None
Resource errors None

WP Swings → PDF Generator For WP

Page screenshot: WP Swings → PDF Generator For WP
URL /wp-admin/admin.php?page=pdf_generator_for_wp_menu
Aspect menu-item
HTTP status 200
Load time 0.810 s
Memory usage 3.7 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.296 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.347 s0.382 s+0.035 s3.51 MiB3.69 MiB+ 184.77 KiB
/wp-admin/edit.php0.208 s0.249 s+0.041 s3.57 MiB3.78 MiB+ 216.52 KiB
/wp-admin/post-new.php0.857 s1.066 s+0.209 s6.06 MiB6.26 MiB+ 201.91 KiB
/wp-admin/upload.php0.756 s0.588 s-0.168 s3.52 MiB3.69 MiB+ 170.59 KiB
/wp-admin/options-writing.php0.224 s0.201 s-0.023 s3.5 MiB3.67 MiB+ 173.95 KiB
/wp-admin/media-new.php0.280 s0.209 s-0.071 s3.49 MiB3.67 MiB+ 182.15 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.190 s-0.010 s3.5 MiB3.69 MiB+ 192.82 KiB
/wp-admin/post-new.php?post_type=page0.737 s0.640 s-0.097 s6.05 MiB6.24 MiB+ 197.45 KiB
/wp-admin/options-discussion.php0.487 s0.351 s-0.136 s3.5 MiB3.67 MiB+ 170.45 KiB
/wp-admin/edit-comments.php0.246 s0.199 s-0.047 s3.52 MiB3.69 MiB+ 169.95 KiB
/0.330 s0.244 s-0.086 s3.44 MiB3.5 MiB+ 66.8 KiB
Average 0.425 s0.393 s-0.032 s3.97 MiB4.14 MiB+ 175.22 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.

SVG
PHP
JavaScript
Language % Lines of code Comment lines Files
SVG58.5%35,246017
PHP17.6%10,5982,76266
JavaScript14.3%8,5857,27017
CSS7.1%4,29819316
PO File2.5%1,4958511
XML0.0%2001
Total 60,242 11,076 118

PHP Code Analysis | More results »

Lines of code 9,508
Total complexity 1,438
Median class complexity 8.0
Median method complexity 1.0
Most complex class Pdf_Generator_For_Wp_Admin
Most complex function Pdf_Generator_For_Wp::wps_pgfw_plug_generate_html()
Classes 26
Methods 217
Functions 36

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 9

PHP Error Log 4 lines

[28-May-2025 05:24:13 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:3015) in /wp-includes/functions.php on line 7168
[28-May-2025 05:24:13 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:3015) in /wp-includes/functions.php on line 7144
[28-May-2025 05:24:13 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:3015) in /wp-includes/functions.php on line 7168
[28-May-2025 05:24:13 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:3015) in /wp-includes/functions.php on line 7144
See also: All tests for this plugin, How to Hide PDF Generator For WP Admin Menus