Features
With this plugin you can:
- replace the default WordPress login
- redirect the users to a specific page after login, based on there role
- display or hide the WordPress toolbar for users, based on there role
- restrict the access to the full website by requiring a login
Shortcodes
[ccl-login]
This will create the “Login” page. With the optional attribute ccl_main_form="true"
u can choose with login-form the user gets redirected to.
[ccl-profile]
This will create the “Your profile” page.
[ccl-register]
This will create the “Registration” page.
[ccl-password-lost]
This will create the “Password lost” page.
[ccl-password-reset]
This will create the “Password reset” page.
[ccl-login-link]
This shortcode will create the text “Login” when a user is not yet logged in. And will change to “Welcome {user}
, Sign out” when a user is logged in.
Actions
ccl_after_user_registration
This action is applied after a user-registration is successfully done. This action has one parameter (WP_User) $registered_user.
ccl_registration_extra_fields
With this action you’re able to add extra fields to the user-registration form.
Filters
ccl_redirect_after_user_registration
With this filter u can change the the URL the user get redirected to after a successfull registration. This action has one parameter (string) $redirect_url.
ccl_registration_notice
Change the message which is shown below the registration form