• 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 wp-filters

wp-filters

Send new user activation link with manual admin approval

Chad Butler · Mar 19, 2018 ·

This post describes a very similar process to what is described in the tutorial titled “Send new user an activation link in the new registration email.” The twist on this version is that this will send the user an email requesting that they confirm their email address, then it will send the admin a notification to manually activate that user.

The original version in the other tutorial was intended for use where users just need to confirm their email address. This version is for confirming their email address and then approving the account. Continue Reading →

Add Really Simple CAPTCHA to the Login Form

Chad Butler · Feb 16, 2015 ·

The question about integrating CAPTCHA into the login is coming up more frequently. With the wpmem_login_form_rows filter, the login form is infinitely flexible so you can add additional elements to the form.

I have put together an example of integrating the Really Simple CAPTCHA process into the current login process.  The process is relatively simple, since the plugin contains support for Really Simple CAPTCHA already in the registration form.  This customization will utilize some of the already available process in native to the plugin.Continue Reading →

Reset password with just email

Chad Butler · Jan 27, 2014 ·

NOTE: if you are using version 2.9+, there is a new set of code snippets using some new filter hooks that make this process easier.

One of the requests I get most often is how can I change the plugin to have the password reset only require the user to give their email address.  This especially comes up when people customize the process to use the person’s email address as their username, since a password reset form with “username” and “email” doesn’t make much sense in that situation.

Well, since version 2.8.5, there has been a filter hook in the password reset process that allows you to filter the arguments that are passed in order to reset the user’s password – wpmem_pwdreset_args.  There are two stages to this demonstration, and thus two parts of the code snippet.  First, we only need a form requesting the user’s email, so we will remove the “username” field from the form.  Second is filtering the arguments of the password reset process so that the user’s password can be reset with only the email provided. Continue Reading →

A random word and number combination for passwords

Chad Butler · Jan 22, 2014 ·

One of the earliest code snippets provided on this site was one that discussed how to create an easier random password.  This post discussed two examples: one that showed how to create a random password of only upper and lower case letters and one that always set a specific word.

I understand that some sites have users that are not very computer savvy, and I often get the question of how does one generate a random password that is both secure and easy to use.  So, I came up with this little example.

This code snippet will generate a password that is a combination of a random word and a random 2 digit number.  This allows you to generate random passwords that will be easier on the user and still have some level of security.  Continue Reading →

Add a sortable date user registered column to the Users > All Users page

Chad Butler · Dec 4, 2013 ·

If you manage a site that has a lot of registrations, sometimes it is helpful to show the date the user registered as a custom column in the WordPress admin page Users > All Users.  I have shown in another post how you can add that data as well as other data to this table.

But what if you want to make it sortable so you can sort the table by the date the user registered to see what users have registered most recently?  Here is a way that you can do that.  Continue Reading →

  • Page 1
  • Page 2
  • 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