Home / Disable / Disable EDD Software Licensing Activation/Deactivation Logs
Duplicate Snippet

Embed Snippet on Your Site

Disable EDD Software Licensing Activation/Deactivation Logs

By default, when a license is activated or deactivated EDD Software Licensing adds a log entry for the license. While they can be useful in troubleshooting and handling disputes, they are not necessary for functionality.

These logs can be disabled via this snippet containing two filters.

Code Preview
php
<?php
// Don't log license activations and deactivations.
add_filter( 'edd_sl_log_license_activation', '__return_false' );
add_filter( 'edd_sl_log_license_deactivation', '__return_false' );

Comments

Add a Comment