설명
This addon allows you to configure an after login page for each of the membership access levels you create in your simple membership plugin.
This addon plugin will automatically redirect the members to the appropriate page after they log into your site.
After you install this addon, edit your membership levels and specify the redirect pages and the addon will take care of the rest.
Additional options (such as redirecting members to the last page they were on) are available in the Simple Membership -> Login Redirection menu.
Read the usage documentation to learn how to use the after login redirection addon.
설치
- Upload
swpm-after-login-redirectionfolder to the/wp-content/plugins/directory - 워드프레스의 ‘플러그인’ 메뉴에서 플러그인을 활성화하세요.
FAQ
아무 것도 사용하지 않음
후기
기여자 & 개발자
“Simple Membership After Login Redirection”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.
기여자변경이력
2.2
- Security fix: the ‘swpm_redirect_to’ URL is now validated (using ‘wp_validate_redirect’) when the member logs in using the Social Login addon, the same as the normal login. Only URLs of this site (or the hosts allowed by the ‘allowed_redirect_hosts’ filter hook) are accepted. Thanks to Sanjay Babu for reporting this.
2.1
- PHP warning fix for the case when nothing has been set in the addon’s settings yet.
2.0
- Support added for the Social Login Addon – now the after login redirection will also work when the member logs in using social login.
1.9
- Fixed a minor version number formatting issue which was causing the addon to show an update notification even when there is no update.
1.8
- Fixed a PHP debug warning that occurred when the addon’s settings had never been saved.
1.7
- Added ‘wp_validate_redirect’ function to validate the redirect URL when the ‘swpm_redirect_to’ parameter is set.
1.6
- Added an extra line debug logging output to show which page it is redirecting to. Useful for troubleshooting.
1.5
- Added a new feature to enable custom redirections (the custom redirection can be set by defining the parameter ‘swpm_redirect_to’ in the URL)
1.4
- Fixed an “Undefined index” PHP notice when the settings is saved and WP Debug is enabled on the site.
1.3
- Added a new feature to enable redirection to the last page (where they clicked the login link) after the member logs in. You need to upgrade simple membership plugin for this to work.
1.2
- Registering the actions and hooks earlier so they don’t have a race condition on some sites.
1.1
- Moved the after login redirection action inside the plugins_loaded hook
1.0
- First commit to wordpress.org