Browse: Home / Constants /

LEARNDASH_SCRIPT_DEBUG

define( 'LEARNDASH_SCRIPT_DEBUG',  bool $value )

Define LearnDash LMS – Enable load of non-minified CSS/JS assets.


Description #

If the WordPress SCRIPT_DEBUG or LearnDash LEARNDASH_SCRIPT_DEBUG are set then LEARNDASH_SCRIPT_DEBUG will also be set to (bool) true.


Parameters #

$value

(bool) (Required) Only one of the following values.

  • 'true'
    (bool) The non-minified versions of CSS/JS assets will be used.
  • 'false'
    (bool) The minified CSS/JS assets will be used. Default.


Source #

File: learndash-scalar-constants.php


Changelog #

Changelog
Version Description
2.2.0 Introduced.