• Resolved g22231665

    (@g22231665)


    I Have mulit teach video page on my website,I set the different membership to every page.
    And now I want add memberships for my user ,and set different expiry date for every user on same one membership.
    example: membership Gold have three user , user A expiry date is 2019/02/02;user B expiry date is 2019/03/03;user C expiry date is 2019/05/05

    How can I set expiry date for every user?
    If I need custom code, How do to this custom??

Viewing 1 replies (of 1 total)
  • Plugin Author Joachim Jensen

    (@intoxstudio)

    Apologies for the delayed response here.

    Currently the plugin does not support setting expiry times on individual members in the UI.

    You can do it programmatically like this:

    
    add_user_meta($user_id,'_ca_level_'.$level_id,$new_expiry,true);
    

    $new_expiry needs to be in unixtime format.

    I hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘About set user expiry date’ is closed to new replies.