• Skip to primary navigation
  • Skip to main content

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 » Archives for actions

actions

Only Allow Registration From Specified Email Domains

Chad Butler · Jan 11, 2014 ·

One really fun thing about developing, maintaining, and supporting WP-Members over the years is putting together unique customizations and code snippets based on user requests that I never thought of.  It shows how truly versatile the plugin is and that there is a very diverse user base.

This particular snippet comes from a user request to essentially create an email whitelist for registration, thus only allowing registration if the user’s email account is from a certain domain.  This can be used in a number of different scenarios.  One particular use would be for someone maintaining content for specific business clients and you only want users from those specific client domains to be able to register.  Continue Reading →

Adding WP-Members Columns to the User Admin Panel

Chad Butler · Nov 27, 2013 ·

 

custom_columns

With both the general plugin and the various extensions, there are several columns that you may wish to add to the User Admin Panel.  In my user panel, I like to see the date a user registered, their last login, and when their subscription expires.  These custom columns involve data that is native to WordPress (user registered), from the User Tracking Extension (last login), and the PayPal Subscription Extension (expires).

This tutorial will show you some examples that you can use, but it can be easily adapted to other custom columns you might want to add as well.
Continue Reading →

Add a first name greeting to the new registration email

Chad Butler · Aug 2, 2013 ·

As much as I try to make the plugin as flexible as possible with a framework that includes lots of hooks for customization, every once in awhile a question pops up that forces me to think outside the box, so to speak.  Case in point, I recently received a question in the forum about putting a first name greeting into the body of the welcome email that goes to a user upon new registration.  Seemingly intuitive and simple, that particular field is not readily available to the email function.  BUT… have no fear, there is a very simple customization that makes it (and other fields) available to the email filter.  Continue Reading →

Email Admin When a User Updates Registration Data

Chad Butler · Apr 26, 2013 ·

Here’s a request I get from time to time – how can the admin receive email notification that a user updated their data, so I figured it is about time to put that together as a tutorial.

This one should be fairly straight forward and can be used cut-and-paste for the general features.  As usual, I’ve tried to comment the code so that you know what is happening where and more advanced users can build on this concept from there.  Continue Reading →

Add password and email confirmation to the registration process

Chad Butler · Dec 12, 2012 ·

NOTE: As of plugin version 2.9.3, password, password confirm, and email confirm fields are included in the plugin’s default fields. All you need to do is enable them. Everything described in this post is now integrated into the plugin.

Some users like to have a confirmation process in their registration.  For example, having two email fields and comparing to make sure the user properly entered their email address.  This code snippet will show you how you can quickly add this feature with the addition of some custom fields in your form.

Continue Reading →

  • « Go to Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Go to Next Page »

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