compression_test ( No parameters )

Defined at:


Tests support for compressing JavaScript from PHP.Outputs JavaScript that tests if compression from PHP works as expected and sets an option with the result. Has no effect when the current user is not an administrator. To run the test again the option 'can_compress_scripts' has to be deleted.

Related Functions

wp_ajax_wp_compression_test, gzip_compression, comment_text, codepress_footer_js, force_ssl_content

Top Google Results

User discussions

wpseek mobile