WP-Members Invite Codes version 2.1.0 was released today. This is a fairly major update from the previous 2.0.5 version.
Membership support
The new version now supports assigning a membership based on an invite code. This can be set in the invite code’s properties when it is created.
WP CLI & Admin Panel Improvements
Improvements were made to the command line functions, including the ability to delete all codes. Much of what is available via CLI is also available in the admin interface now, too.
Generating invite codes in bulk is now available in the admin interface.
New API Functions and Hooks
API Functions:
- wpmem_ic_add_code_meta()
- wpmem_ic_update_code_meta()
- wpmem_ic_get_code_meta()
Filters and Actions
- wpmem_ic_screen
- wpmem_ic_screen_post
- wpmem_code_used_info
- wpmem_ic_code_generator_defaults
- wpmem_ic_required_caps
Other Notes
If you are upgrading from 1.3.0 or earlier, start with a clean install. You cannot update to this version from anything earlier than 1.4.0. (Most users are in the 2.x series, so upgrades from any 1.x would be rare – if you have a 1.x version installed and have questions about updating, ask.)
The default capability to manage invite codes is “edit_users”. In a default WP install, this is the admin role only. If you use customized roles, and need a user to be able to manage invite codes, they need to be able to edit users. This required role can be changed by using the wpmem_ic_required_caps
filter.
Message handling is improved, the admin panels received a complete code audit with security improvements, the plugin deployment and license key manager was updated to the latest version for smoother operation.
Leave a Reply
You must be logged in to post a comment.