• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

RocketGeek

Home of WP-Members, The Original WordPress Membership Plugin

  • WordPress Plugins
    • WP-Members
      • FAQs
      • Quick Start
      • Documentation
      • Extensions
    • Advanced Options
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Download Protect
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Invite Codes
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • MailChimp Integration
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • PayPal Subscriptions
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Salesforce Web-to-Lead
    • Security
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Text Editor
      • Purchase the Plugin
      • Get the Pro Bundle
    • User List
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • User Tracking
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Memberships for WooCommerce
    • WordPass
  • Blog
    • Basics
    • Tips and Tricks
    • Filters
    • Actions
    • Code Snippets
    • Shortcodes
    • Design
    • Release Announcements
  • Store
    • Cart
    • Checkout
  • Contact
  • Log In
  • Show Search
Hide Search
Home » Plugins » Invite Codes » Invite Codes Documentation » Change Log

Change Log

2.1.0

This version upgrades the database for some new features. This changes the name of the wpmem_ic_codes_meta table to wpmem_ic_code_use (note no "s" on codes). There is no straight rollback, you'll need to check the database tables and possibly rename to the old table name to roll back.

  • Added custom code meta for holding custom values.
  • Added code meta for assigning memberships based on invite code.
  • Added ability to delete all invite codes using CLI.
  • Added ability to bulk add codes from admin panel (previously only from CLI).
  • Added wpmem_ic_add_code action.
  • Added wpmem_ic_add_code_meta(), wpmem_ic_update_code_meta(), and wpmem_ic_get_code_meta() API functions.
  • Added wpmem_ic_screen action and wpmem_ic_screen_post filter.
  • Added wpmem_ic_code_used_info filter hook.
  • Added wpmem_ic_code_generator_defaults filter hook to allow for customizing the characters and length of auto generated invite codes.
  • Deprecated wpmem_ic_validated as an action hook, replaced it with a filter. Note: If you are using wpmem_ic_validated in a previous version, the action was intended to pass the user ID. However, it is fired at wpmem_pre_register_data, before the user registration is complete and therefore there is no user ID.
  • Deprecated upgrades from plugin versions prior to 1.4.0. If upgrading from 1.3.0 or earlier, start with a clean install.
  • Updated default capability required to manage invite codes to "edit_users".
  • Added wpmem_ic_required_caps filter to customize default capability required to manage invite codes.
  • Improves messaging/handling when an invite code is not required. If invite code is empty, registration proceeds (not required), but if code has a value that does not validate, it returns an error indicating the code used is invalid.
  • Improves handling of object vars (especially related to code validation both prior to and after a successful registration).
  • Improves settings update.
  • Code improvements for PHP 8.2+.
  • Use dbDelta for database install/upgrade instead of $wpdb->query().

2.0.5

  • Updates plugin manager library.

2.0.4

  • Fixes issue in wpmem_ic_add_code() so that it can generate a random code without specifying a code separately.
  • Fixes issue in Dashboard > Invite Codes view for default sort (now default sorts by invite code).
  • Fixes issue that causes required invite field to display double reg_mark if field is set as required in both fields and plugin settings.
  • Fixes date bug that caused a 0 date to be read as expired.
  • wpmem_ic_add_code() now accepts "limit" argument to limit use to the specified number.

2.0.3

  • Added new screen for managing invite codes.
  • Upgraded updates API library.
  • Added WP CLI commands.
  • Added user API for interacting with invite codes.

2.0.2

  • Upgraded updates API library.
  • Added settings link in the plugin panel.

2.0.1

  • Added French translation.
  • Added code and user ID parameters to wpmem_ic_validated action.
  • Added get_all_codes() (will be added to API in 2.1).

2.0.0

  • Update to database structure - adds table specifically for invite codes, as well as meta table to track code use.
  • Update upgrade functions to convert old code storage (in the settings) to new (in the new table).
  • Security audit and update to all functions.
  • Improved handling of data (removed use of globals to rely on containers in the object class).
  • Translation ready (default pot file in /languages/ folder).

1.4

  • Change to new updates API with license keys.

1.3

  • Improved handing of array of codes so that numeric keys are treated as strings (like other codes).
  • Fixes logic handling for new installs where there are no current invite codes.

1.2

  • Added automatic updates.
  • Added wpmem_ic_validated action hook, fires upon successful validation of an invitation code.
  • Added wpmem_ic_messages filter, can filter the extension's message dialogs.
  • Improved uninstall for use on multisite.

1.1

  • Changed single code use to limited use. This essentially sets a counter for codes to be used a limited number of times (can be single or x number of uses).

1.0

  • Initial release.

WP-Members Invite Codes

Plugin Info

Current Stable Version: 2.1.0
Minimum WordPress Version: 5.0
Tested up to WordPress Version: 6.5
Last Updated: 2024-04-06

Documentation

    • Setup
    • Importing Invite Codes
    • Upgrading
    • Filter Hooks
    • Action Hooks
    • API Functions
    • WP CLI Commands
    • Change Log

Get the Plugin

  • Purchase the Plugin
  • Get the Pro Bundle

Ready to get started?

Join Today!

© 2025 · butlerblog.com · RocketGeek is built using WordPress, WP-Members, and the Genesis Framework

  • butlerblog.com
  • WP-Members Support Subscription
  • Terms of Service
  • Privacy Policy
  • Refund Policy