• Hey there! ??

    I am using your “Network/Multisite Membership” Addon and would like new members not to have access to the “main page”-backend.

    New members should only be able to have one site.

    Setting the credits to “1” for every level will allow the members only to have on site, right?

    //set site credits for levels 1-3
    function pmpro_multi_pmpron_site_credits($credits, $user_id, $level_id)
    {
    if($level_id == 1)
    $credits = 1;
    elseif($level_id == 2)
    $credits = 1;
    elseif($level_id == 3)
    $credits = 1;
    
    return $credits;
    }
    add_filter("pmpron_site_credits", "pmpro_multi_pmpron_site_credits", 10, 3);

    I don’t know, maybe this could simply be managed with redirecting the user if he tries to access the wp-admin or wp-login from the main-site?

    Thanks in advance,
    great Plugin by the way! ??

    Best, David

    https://www.ads-software.com/plugins/paid-memberships-pro/

  • The topic ‘Multisite | No access to main page, only to new blog’ is closed to new replies.