Dozent LMS developer documentation

  • Go To DozentLMS.com
Skip to content
Filter by type:
Search
Browse: Home / Functions / dozent_script_debug()

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

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

Expand full source code Collapse full source code


Related

Used By

Used By
Used By Description
classes/Resources.php: Resources::load_resources()

Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.
© 2023, Dozent LMS