Add Easy Digital Download Filter

Status
Not open for further replies.

tompots

Elite Member
Joined
Dec 11, 2011
Messages
5,775
Reaction score
4,871
---- THREAD CLOSED 10/09/2014 ----
I'm trying to add a filter to stop the logging of Easy Digital Downloads api. I'm not that knowledgeable when it comes to php so I need to get some help form you guys. I'm trying to ad this filter below to stop the api logging.

Code:
add_filter( 'edd_api_log_requests', '__return_false' );

I'm trying to add the filter through a plugin called Pluginception, that allows the creation of custom plugins for wordpress.
Code:
https://wordpress.org/plugins/pluginception/

Here is what I have so far, but it's not stopping the logging. Please keep in mind that I'm not good with php at all. Any help with this would be much appreciated

Code:
<?php
/*
Plugin Name: EDD API Filter
Plugin URI: xxx
Description: xxx
Version: 1.01
Author: xxx
Author URI: xxx
License: N\A
License URI: xxx
*/

add_filter( 'edd_api_log_requests', '__return_false' );
 
Last edited:
Status
Not open for further replies.
Back
Top