Documentation

Constant Variables

WhereUsed implements various PHP constant variables throughout it’s codebase to make it easier to access specific information as needed. Learn more about constant variables.

View Current Value Of A Constant

You can view all the constants that have been defined in WhereUsed by turning on Debug Mode. Navigate to the Debug area by clicking on the Debug menu item at the top of the main menu and then click on the tab in the page content label “Constants”. From there you will see a list of constants that have been defined by WhereUsed.

NOTE: Not all constants listed below will be visible in the Debug area as that area only displays the constants that have been defined in that moment. Certain scenarios use a constant variable as a flag and thus only define the variable if that scenario exists.

List Of All Constants:

Helpers Library Constants

Helpers Library is a dependecy of WhereUsed and sets it’s own constant variables which are used by WhereUsed.

  • HELPERSLIBRARY_ADMIN_BODY_CLASS – Not always defined
  • HELPERSLIBRARY_ADMIN_DASHBOARD_SCRIPTS – Not always defined
  • HELPERSLIBRARY_ADMIN_DIR
  • HELPERSLIBRARY_ADMIN_FOLDER
  • HELPERSLIBRARY_ADMIN_HIDE_NOTICES – Not always defined
  • HELPERSLIBRARY_ADMIN_HIDE_NOTICES_CLEARED – Not always defined
  • HELPERSLIBRARY_ADMIN_SCRIPTS – Not always defined
  • HELPERSLIBRARY_ADMIN_STYLING – Not always defined
  • HELPERSLIBRARY_ADMIN_URI
  • HELPERSLIBRARY_ADMIN_URI_CURRENT
  • HELPERSLIBRARY_ADMIN_URL
  • HELPERSLIBRARY_ADMIN_URL_CURRENT
  • HELPERSLIBRARY_ASSETS_DIR
  • HELPERSLIBRARY_ASSETS_URL
  • HELPERSLIBRARY_CONFLICT – Not always defined
  • HELPERSLIBRARY_CURRENT_SITE_ID
  • HELPERSLIBRARY_DIR
  • HELPERSLIBRARY_DONOTCACHE
  • HELPERSLIBRARY_INC_DIR
  • HELPERSLIBRARY_LIBRARY_DIR
  • HELPERSLIBRARY_MIN_PHP
  • HELPERSLIBRARY_PLUGIN_LOADED
  • HELPERSLIBRARY_SLUG
  • HELPERSLIBRARY_TABLES_DIR
  • HELPERSLIBRARY_TABLE_HEADER – Not always defined
  • HELPERSLIBRARY_URL
  • HELPERSLIBRARY_VERSION

WhereUsed Constants

If you notice any incorrect or missing information on this page, please let us know.