wp_privacy_anonymize_data filter-hookWP 4.9.6

Filters the anonymous data for each type.

Usage

add_filter( 'wp_privacy_anonymize_data', 'wp_kama_privacy_anonymize_data_filter', 10, 3 );

/**
 * Function for `wp_privacy_anonymize_data` filter-hook.
 * 
 * @param string $anonymous Anonymized data.
 * @param string $type      Type of the data.
 * @param string $data      Original data.
 *
 * @return string
 */
function wp_kama_privacy_anonymize_data_filter( $anonymous, $type, $data ){

	// filter...
	return $anonymous;
}
$anonymous(string)
Anonymized data.
$type(string)
Type of the data.
$data(string)
Original data.

Changelog

Since 4.9.6 Introduced.

Where the hook is called

wp_privacy_anonymize_data()
wp_privacy_anonymize_data
wp-includes/functions.php 7841
return apply_filters( 'wp_privacy_anonymize_data', $anonymous, $type, $data );

Where the hook is used in WordPress

Usage not found.