If you have just made a membership payment then your payment is yet to be processed. Please check back in a few minutes. An email will be sent to you with the details shortly.
Recent Posts
Recent Comments
No comments to show.
/*** Auto redirect a user who isn't logged into the site ***/
add_filter( 'pre_get_posts', 'swpm_auto_redirect_non_members' );
function swpm_auto_redirect_non_members() {
if (is_admin()){
//Inside the admin dashboard. Nothing to do.
return;
}
//We are on the front-end. Lets check visitor's login status.
if( !SwpmMemberUtils::is_member_logged_in() && !is_page( array( 'membership-login', 'membership-join' )) ) {
wp_redirect( 'https://www.yourstoryunleashed.com/membership-login' );
exit;
}
}
Skip to content