Ajax::enableDebugOnDev()
Enable error reporting on local development (internal use only)
Description
Source
File: bp-integrations/learndash/buddypress/Ajax.php
168 169 170 171 172 173 174 175 176 | protected function enableDebugOnDev() { if ( strpos (get_bloginfo( 'url' ), '.test' ) === false) { return ; } error_reporting (E_ALL); ini_set ( "display_errors" , 1); } |
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.