/** * Returns whether logging is enabled. * * @return boolean * @access public * @since 1.4.0 */ private function is_logging_enabled() { if (!isset(self::$logging)) { self::$logging = WP_DEBUG && apply_filters('charitable_log_deprecated_notices', true); } return self::$logging; }