• Resolved johannschnagl

    (@johannschnagl)


    People who register on my site need to accept gdpr and tac. I’ve seen there is a timestamp in the usermeta table with the meta_keys use_gdpr_agreement and use_terms_conditions_agreement. Is there a way to save this timestamp blog specific. It might be possible that I have to use different terms and conditions on different subdirecotries in future. This would help to keep track on who agreed to what tac.
    If it is not possible is there a way to additionally save the information blog specific?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter johannschnagl

    (@johannschnagl)

    I found some kind of workaround:

    add_action( ‘um_after_save_registration_details’, ‘my_user_register’, 10, 2);

    function my_user_register ($user_id, $args ) {
    $timestamp = get_user_meta( $user_id, ‘use_gdpr_agreement’, true);
    update_user_option( $user_id, ‘use_gdpr_agreement’, $timestamp );
    delete_user_meta( $user_id, ‘use_gdpr_agreement’ );
    }

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @johannschnagl

    Thanks for letting us know about the workaround. I’m marking this as resolve now.

    Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘blog specific user meta’ is closed to new replies.