/** * Quick and dirty way to know the stack trace of a deprecated function * @package debug * @version 1.0.0 */ function debug_deprecated() { DebugUtils::get_instance()->set_title(__('Deprecated'))->debug_deprecated(); }
/** * Disable vd()\vc()\v() functions output, * This is default status, generically good for production environments. */ public static function disable_debug() { $debug = DebugUtils::get_instance(); $debug->status = false; }