首页 WordPress函数大全 compression_test()

compression_test()

2020-05-01 / 4411阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

compression_test()

Test 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.

大家谈论
    我的见解