Home / Admin / CHARITABLE_DEBUG mode
Duplicate Snippet

Embed Snippet on Your Site

CHARITABLE_DEBUG mode

This code snippet will define the `CHARITABLE_DEBUG` constant as `true`. See https://www.wpcharitable.com/documentation/charitable-debug-mode/.

Code Preview
php
<?php
add_action('plugins_loaded', function() {
    if (!defined('CHARITABLE_DEBUG')) {
        define('CHARITABLE_DEBUG', true);
    }
});

Comments

Add a Comment