Support » WooCommerce » How to deactivate IP saving for orders?

  • Hello,

    I would like to deactivate this feature of logging the IP of customers in the orders. I found a php snippet on the net but this doesn’t work. Anyone knows a solution? Is there an option that I did not find bc I wonder why one needs to hardcode it?

    /** Stop saving customer IP */
    add_filter( ‚update_post_metadata‘, ‚wc_customer_ip_delete‘, 10, 3 );

    function wc_customer_ip_delete( $null, $id, $key ) {
    if ( ‚_customer_ip_address‘ === $key )
    return FALSE;

    return $null;

Ansicht von 1 Antwort (von insgesamt 1)
  • Moderation Note:

    I have closed this thread because you asked your question in English in the German support forums. To keep the threads accessible for users who don’t speak English, please ask your question in German or post it in the international support forums. Thanks for your understanding.

Ansicht von 1 Antwort (von insgesamt 1)
  • Das Thema „How to deactivate IP saving for orders?“ ist für neue Antworten geschlossen.