/** * initializes all required libraries */ public function init_libraries() { Tribe__Debug::instance(); Tribe__Settings_Manager::instance(); require_once $this->plugin_path . 'src/functions/template-tags/general.php'; require_once $this->plugin_path . 'src/functions/template-tags/date.php'; }
/** * initializes all required libraries */ public function init_libraries() { Tribe__Debug::instance(); Tribe__Settings_Manager::instance(); require_once $this->plugin_path . 'src/functions/template-tags/general.php'; require_once $this->plugin_path . 'src/functions/template-tags/date.php'; // Starting the log manager needs to wait until after the tribe_*_option() functions have loaded $this->log = new Tribe__Log(); }
/** * Render the debug logging to the php error log. This can be over-ridden by removing the filter. * * @param string $title - message to display in log * @param string|bool $data - optional data to display * @param string $format - optional format (log|warning|error|notice) * */ public function renderDebug($title, $data = false, $format = 'log') { _deprecated_function(__METHOD__, '4.0', 'Tribe__Debug::render'); Tribe__Debug::render($title, $data, $format); }