• Resolved karlosuccess

    (@karlosuccess)


    Hello,

    How can we check by default the “I have read and accept the privacy policy and…” checkbox in the registration page?

    Thank you!

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

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

    (@alessandrotesoro)

    Hi there,

    You can add this to your theme’s functions.php file:

    function wpum_set_privacy_field_checkbox( $fields ) {
    
    	if ( isset( $fields['privacy'] ) ) {
    		$fields['privacy']['value'] = true;
    	}
    
    	return $fields;
    
    }
    add_filter( 'wpum_get_registration_fields', 'wpum_set_privacy_field_checkbox' );
    Thread Starter karlosuccess

    (@karlosuccess)

    Thank you!!

    It worked perfectly!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to check by default “I have read and accept the privacy policy and…”’ is closed to new replies.