dozent_script_debug()

Determine if the application is in debug mode


Description

Example usage:

$is_debug_mode = dozent_script_debug();

Return

(bool)


Source

File: includes/core-functions.php

270
271
272
function dozent_script_debug() {
    return ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG );
}


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.