Support » Plugin: Expire Users » Expired User + BuddyPress

  • Resolved Mimicmusic


    Would like to integrated this plugin along with BuddyPress member.

Viewing 2 replies - 1 through 2 (of 2 total)
  • DesignFirm


    I’m not sure exactly what you’re looking to do, but if you want your expiration settings to be set automatically for Buddypress registrations, you can put this code in your functions.php file:

    function expire_users_bp_register_form() {
        if( class_exists( 'Expire_Users' ) ) {
            echo '<input type="hidden" name="expire_users" value="auto" />';
    add_action( 'bp_before_registration_submit_buttons', 'expire_users_bp_register_form' );

    It will apply your expiration settings once the user has activated their Buddypress membership.



    Let me try your code. I think this is what i am after for. I have set the general settings to expire in 6months. I will get it a shot. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Expired User + BuddyPress’ is closed to new replies.