-
Notifications
You must be signed in to change notification settings - Fork 1
WP_LIB_DEBUG_MODE
Kit edited this page Jun 14, 2015
·
2 revisions
###Description
WP-Librarian uses the constant WP_LIB_DEBUG_MODE to differentiate between development/debugging and production environments. When debugging mode is enabled WP-Librarian will:
- Serve un-minified assets (this does not stop any WordPress asset minification)
- Display more detailed information in the browser console
- Append Dashboard pages with the server response if it fails to be parsed
- Display 'DEBUGGING MODE ON' in the top right of the page on certain pages
###Enabling/Disabling Debugging Mode
To enable debugging mode open wp-librarian.php in WP-Librarian's root directory and edit the constant WP_LIB_DEBUG_MODE so that false is changed to true like below:
define('WP_LIB_DEBUG_MODE', true);
To disable debugging mode you need only modify the same line of code, replacing true with false.
####1. Post Types
Items
Members
Loans
Fines
####2. Taxonomies
Author
Media Type
####3. User Roles
Librarian
Library Admin
####4. Filters
####5. Actions
####6. Releases
6.1 Alpha Releases
Fox Paw
Wolf Tail
Badger Claw
Coyote Snout