• 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 Tips and Tricks

Tips and Tricks

Create a “free” category for all registered users when using the PayPal Subscriptions extension

Chad Butler · Jun 6, 2017 ·

When using the PayPal extension, any blocked content will require the user to have a valid and current subscription with an expiration date in the future.  Otherwise, when viewing content, it would ordinarily be replaced by a message indicating they either have not completed payment or that their subscription has expired and they need to renew.

The following script will allow you to create a category or categories that are still restricted to registered users only, but they do not need to have a paid subscription – essentially a “free” category that still requires registration but not completed payment.  Continue Reading →

Change the WordPress new user notification using the wp_mail filter

Chad Butler · Jul 11, 2016 ·

I have shown in the past how to change the WordPress new user notification by rewriting the wp_new_user_notification() function, which is a pluggable function.  But the transition from WP 4.2 to 4.3 showed why even pluggable functions can be problematic.  So here is a way to do it with a filter that almost no one knows about – wp_mail.  Continue Reading →

Timestamp when a user updates their profile data

Chad Butler · Jul 9, 2016 ·

Here is a quick little snippet that will allow you to timestamp a user’s profile when they update their data.  This will allow admins to know quickly how current the information is.  Continue Reading →

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 →

Use the MailChimp Integration Extension API to Add MailChimp Data to User Profile

Chad Butler · Jun 24, 2016 ·

The new MailChimp Integration Extension includes a user API in version 2.0.  This can be used to call information about any specific list member without having to worry about formatting the request to send through the actual MailChimp API.  The extension’s user API does this for you.

This is an example using the extension’s API function wpmem_mc_get_list_member() function to retrieve the list member’s MailChimp information and display some of it on the admin user profile.  We will use the WP-Members action hook wpmem_admin_after_profile to display this at the bottom of the WP-Members section of the profile. The end result will add a a line like the image below to the WP-Members section of the user profile

mailchimpdataContinue Reading →

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