• Resolved seanking2919

    (@seanking2919)


    Hi,

    So, I’m really glad that you guys have a GDPR consent checkbox built into the plugin like seen in the link. However, would it be possible to make it so that the text adjacent to the checkbox is customizable? For example, if I wanted to change the text from “I have read and accept the privacy policy and allow “Sandia Mesa Animation Studios” to collect and store the data I submit through this form.” to something like “I give Sandia Mesa Animation Studios my consent to use this information for the purposes specifically outlined in the Privacy Policy.”

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor Alessandro Tesoro

    (@alessandrotesoro)

    Hi @seanking2919

    At the moment there isn’t a setting in the admin panel that allows you to customize the text but it’s a good idea and I can add this into a future update.

    Meanwhile you can customize the text with hooks. You can copy and paste the following snippets into your theme’s functions.php file.

    This will modify the terms text.

    add_filter(
    	'wpum_terms_text',
    	function( $text ) {
    
    		return 'My custom text goes here';
    
    	}
    );

    This will modify the privacy policy text.

    add_filter(
    	'wpum_privacy_text',
    	function( $text ) {
    
    		return 'My custom text goes here';
    
    	}
    );

    Hope this helps 🙂

Viewing 1 replies (of 1 total)

The topic ‘Customize GDPR consent checkbox?’ is closed to new replies.