/* Redirect After Social Login for not Subsciber */ if ( get_user_option( 'jpw_subscribe_status', get_current_user_id() ) !== 'ACTIVE' ) { $url = 'https://your_url/account/edit-account/'; }