If you want to reorder, rename or change the icon for the items in the privacy center you can use the following filter:



apply_filters('wordpress_gdpr_services', $privacyCenterItems);

One Service Array consists of:


Example Use

// Change Array of Items
function my_custom_services( $services ) { 
$services = 'test';
    return $services; 
// add the filter 
add_filter( 'wordpress_gdpr_services', 'my_custom_services', 10, 1 ); 

Deja una respuesta

Tu dirección de correo electrónico no será publicada.