# gamipress/8.0.1/includes/admin/debug.php

GamiPress – Gamification plugin to reward points, badges &amp; ranks in WordPress, now with AI, version 8.0.1. 22 lines.

- Page: https://pluginprobe.com/plugins/gamipress/8.0.1/code/includes/admin/debug.php
- Raw: https://pluginprobe.com/plugins/gamipress/8.0.1/raw/includes/admin/debug.php
- Modified: 2026-09-14T10:50:56+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/gamipress/8.0.1/code/includes/admin/debug.php#L10-L20`.

```php
<?php
/**
 * Debug
 *
 * @package     GamiPress\Admin\Debug
 * @author      GamiPress <contact@gamipress.com>, Ruben Garcia <rubengcdev@gmail.com>
 * @since       1.0.6
 */
// Exit if accessed directly
if( !defined( 'ABSPATH' ) ) exit;

/**
 * Helper function to check if debug mode is enabled
 *
 * @since       1.0.6
 *
 * @return bool
 */
function gamipress_is_debug_mode() {

    return (bool) gamipress_get_option( 'debug_mode', false );
}
```
