WordPress.org

Ready to get started?Download WordPress

Forums

WP-LESS
[resolved] how to set WP_DEBUG? (2 posts)

  1. jkd77
    Member
    Posted 1 year ago #

    how specifically does one set WP_DEBUG? Alternatively, where does one use: $WPLessPlugin->processStylesheets(TRUE);

    This doesn't work, for example:

    require( get_template_directory() . '/inc/wp-less/bootstrap-for-theme.php' );
    $WPLessPlugin->getConfiguration()->setUploadUrl( get_template_directory_uri());
    $WPLessPlugin->getConfiguration()->setUploadDir( get_template_directory());
    $WPLessPlugin->processStylesheets(TRUE); // force re-compile of all files?
    $WPLessPlugin->dispatch();

    Help? Thanks! -Paul

    http://wordpress.org/extend/plugins/wp-less/

  2. jkd77
    Member
    Posted 1 year ago #

    Figured it out.

    It gets set in the standard WordPress root file wp-config.php towards the bottom of the file. Default is false.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags