Reply To: [Resolved] Mobile Billing
Hi @tonymalony
Yes you can tweak the default sign up to do that. Also, consider using something like this to redirect logged-out users away from content you want accessible to logged-in members only.
function custom_redirect() {
if ( ! is_user_logged_in() ) {
// redirect
wp_redirect( home_url() );
exit;
}
}
add_action( 'template_redirect', 'custom_redirect' );
Ref:
https://codex.wordpress.org/Function_Reference/home_url
https://codex.wordpress.org/Function_Reference/is_user_logged_in
https://codex.wordpress.org/Function_Reference/wp_redirect
https://codex.wordpress.org/Plugin_API/Action_Reference/template_redirect