woocommerce_privacy_erase_customer_personal_data_prop

woocommerce_privacy_erase_customer_personal_data_prop

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_privacy_erase_customer_personal_data_prop') is found 1 times:

  • /includes/class-wc-privacy-erasers.php line 83
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
            $erased = true;
        }
    }
     
    $erased = apply_filters( 'woocommerce_privacy_erase_customer_personal_data_prop', $erased, $prop, $customer );
     
    if ( $erased ) {
        /* Translators: %s Prop name. */
        $response['messages'][]    = sprintf( __( 'Removed customer "%s"', 'woocommerce' ), $label );
        $response['items_removed'] = true;
    }