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

filters

Integrating with Easy Digital Downloads

Chad Butler · Jul 5, 2016 ·

Easy Digital Downloads is an incredibly popular plugin that allows you to create a digital product store using WordPress.

You can require users to be logged in to checkout in EDD, but that does not restrict a download link from being used when the user is not logged in.  Restrictions can be put on the link in terms of number of times it can be downloaded and disable redownload, but that can lead to a poor user experience – being over protective can create problems for legitimate users while protecting what amounts to a “perceived” risk rather than real.

But you can integrate with WP-Members to force a user to be logged in to actually download the file.  This way, even if the link is known and not expired, the user will be redirected to login if they attempt to download without being logged in.

Continue Reading →

Do not modify plugin files

Chad Butler · May 3, 2015 ·

This article is provided free. Find out how you can get full access to premium content, including how-to articles and support forums, as well as priority email support and member exclusive plugin extensions..

 

This is an important best practice – never, ever modify plugin files directly.

Rule 1: there is never a good reason to do this.

Rule 2: refer to rule 1.

Continue Reading →

Add a file upload field to attach to admin notification email during registration

Chad Butler · Apr 21, 2015 ·

This tutorial will describe how to add a file upload field to the registration form and have the resulting file be sent with the admin notification email. 

Continue Reading →

Creating an optgroup tag in a dropdown list

Chad Butler · Apr 16, 2015 ·

Here is a slightly more advanced example of using the wpmem_register_form_rows filter to modify a form input element. In this case, we will take a regular dropdown select field and add the optgroup label tag to sections of it.

Note: for best results in understanding this customization, it is best to create a test field exactly as described in this example and using the example scripts as they are written.  Once you have it working, then you can move to creating this process for your specific field. Continue Reading →

Make MailChimp subscribe field a hidden field in the WP-Members registration form

Chad Butler · Mar 11, 2015 ·

Suppose you are using the WP-Members registration form essentially as an opt-in to your MailChimp list.  Essentially, you want anyone who fills out the form to be added to the MailChimp opt-in process.

This requires you to have the MailChimp extension installed and a subscribe field set up and configured.  This filter will take that field and make it a hidden field, essentially triggering the MailChimp opt-in process for all users. Continue Reading →

  • « Go to Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Interim pages omitted …
  • Page 15
  • 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