Server : Apache System : Linux ls31.server.ly 3.10.0-962.3.2.lve1.5.68.el7.x86_64 #1 SMP Wed Apr 6 11:12:23 UTC 2022 x86_64 User : medchoco ( 2906) PHP Version : 8.3.16 Disable Function : mail Directory : /home/medchoco/public_html/wp-content/plugins/jetpack-boost-git/app/lib/ |
Upload File : |
<?php /** * Implement debug helper methods. * * @link https://automattic.com * @since 1.0.0 * @package automattic/jetpack-boost */ namespace Automattic\Jetpack_Boost\Lib; /** * Class Debug */ class Debug { /** * Returns whether the debug mode has been triggered. */ public static function is_debug_mode() { $script_debug = defined( 'SCRIPT_DEBUG' ) && \SCRIPT_DEBUG; $manual_debug_mode = filter_input( INPUT_GET, 'jetpack-boost-debug' ); $debug = $script_debug || $manual_debug_mode; return apply_filters( 'jetpack_boost_debug', $debug ); } }