• For privacy reasons I would like to not log the IP address with every saved post. Can this be done somehow?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Not possible in the current version. The next release will have a filter hook that allows to control the data to save.

    add_filter( 'flamingo_add_inbound', function($args){
        unset($args['meta']['remote_ip'])
    });

    may solve your problem.

    Thread Starter mindero

    (@mindero)

    Thanks for the feedback! It doesn’t seem to work for me though (IP is still logged).

    I created a plugin with the following function:

    function flamingo_exclude_ip() {
    add_filter(‘flamingo_add_inbound’, function($args){
    unset($args[‘meta’][‘remote_ip’]);
    });
    }

    …and activated that plugin. Is this a wrong approach?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Exclude IP’ is closed to new replies.