• 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 » Search for "short code"

Search Results for: short code

How to upgrade the password reset from legacy versions

Beginning in plugin version 3.3.0, the plugin began shifting to a new password reset that would email a password reset link to the user, allowing them to then set a new password. This became the default in version 3.4.0. In version 3.5.0, the old legacy password reset is obsolete.

Fresh installs of version 3.4.x incorporated the new password reset as the default, so if the first install of the plugin as 3.4.0 or higher, then you do not need to do anything.

For versions upgrading from 3.3.9 or earlier, you will need to make a couple of changes to incorporate the new password reset.

  1. Make sure there is a page set for “User Profile Page” and that this page has either the [wpmem_profile] shortcode (recommended) or the [wpmem_form password] shortcode. Note that if the [wpmem_form password] shortcode is used, the shortcode cannot be restricted by [wpmem_logged_in].
  2. Update the Password Reset Email content (see below).

To update the Password Reset Email content, note that the plugin no longer creates and emails a password, so you need to remove the password shortcode from that email (as it will be empty anyway). You are not required to include the password link shortcode ([reset_link]) as it will be included automatically at the end of the message. However, use [reset_link] if you want to place the reset link in a specific location in the message.

By way of example, the new default message that the plugin installs is the following:

A password reset was requested for [blogname].

Follow the link below to reset your password: [reset_link]

If you did not request a password reset for [blogname], simply ignore this message and the reset key will expire.

wpmem_login_widget_form

Description

Filters the generated HTML of the login widget’s login form.

Parameters

$html
(string)(required) The HTML for the login widget form

Useage

add_filter( 'wpmem_login_widget_form', 'my_login_widget_form' );
function my_login_widget_form( $html ) {

    // $html is a string of HTML for the form.
    // Do what you need to do to change it and return the result.
    
    return $html;
}

Changelog

Introduced in 3.3.9

Source

wpmem_login_widget_form is located in includes/class-wp-members-widget.php

How to customize the profile links

Chad Butler · Mar 9, 2022 ·

This is a tutorial article on how to customize the profile links for the logged in state of the [wpmem_profile] shortcode. We will focus on different ways to approach it, all of which use the wpmem_member_links_args filter hook.

Continue Reading →

Add or remove fields based on page

Chad Butler · Mar 5, 2022 ·

Sometimes, you may find that you want to add or remove fields from the registration form based on the page you are on. This may be the case if you set up different registration pages, or you might want to have a specific registration page with certain fields and the automatic forms that show on blocked content have different fields. There are many ways to approach it, but ultimately, it is very simple to add or remove fields from the form with the wpmem_fields filter.

Continue Reading →

wpmem_deactivate_user()

Description

Dectivates a user when moderated registration is used.

Parameters

$user_id
(int) (optional) The user ID. If no ID is passed, the current user ID will be used.

Return Value

(void)

Notes

  • Triggers wpmem_user_deactivated action
  • Also see wpmem_activate_user()

Examples

Changelog

  • Introduced in version 2.7.1
  • 3.2.4 Renamed from wpmem_a_deactivate_user().
  • 3.3.0 Moved to user API

Source

wpmem_deactivate_user() is located in /includes/api-users.php.

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 14
  • Page 15
  • Page 16
  • Page 17
  • Page 18
  • Interim pages omitted …
  • Page 53
  • Go to Next Page »

Ready to get started?

Join Today!

© 2026 · 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