woocommerce_privacy_remove_order_personal_data_prop_value

woocommerce_privacy_remove_order_personal_data_prop_value

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_privacy_remove_order_personal_data_prop_value') is found 1 times:

  • /includes/class-wc-privacy-erasers.php line 290
    				 * @param string   $value Current value of the data.
    				 * @param string   $data_type Type of data.
    				 * @param WC_Order $order An order object.
    				 */
    				$anonymized_data[ $prop ] = apply_filters( 'woocommerce_privacy_remove_order_personal_data_prop_value', $anon_value, $prop, $value, $data_type, $order );
    			}
    		}
    
    		// Set all new props and persist the new data to the database.
    		$order->set_props( $anonymized_data );