[Plugin: Private BuddyPress] Custom Login Page
Love the idea of this plugin! How do we set a custom login page (not wp-login.php)?
We were using this from the WordPress Codex. Guessing we need to edit private-buddypress.php here:
// Redirect to login page if for current page a [?] is required elseif ( $this->LoginRequired() ): $loginPage = apply_filters('pbp_redirect_login_page', get_option('siteurl') . '/wp-login.php?redirect_to=' . $redirect_to, $redirect_to); wp_redirect($loginPage); exit; endif; endif;
What is the best way to do it? Many thanks for help!
- The topic ‘[Plugin: Private BuddyPress] Custom Login Page’ is closed to new replies.