• 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
  • Store
    • Cart
    • Checkout
  • Blog
    • Basics [Free]
    • Tips and Tricks
    • Filters
    • Actions
    • Code Snippets
    • Shortcodes
    • Design
    • Release Announcements
  • Contact
  • Sign In
  • Show Search
Hide Search
Home » Plugins » WP-Members » Documentation » Filter Hooks » wpmem_pwdreset_args

wpmem_pwdreset_args

Description

This hook allows you to filter the arguments needed to reset a forgotten password.

Usage

add_filter( 'wpmem_pwdreset_args', 'my_pwdreset_args' );

function my_pwdreset_args( $args )
{
	/**
		The password reset process requires two arguments
		in the array: 
			username: $args['user']
			email:    $args['email']
			
		A single stage password reset (username or email only)
		can be created with this filter by using the single
		known value to retrieve the unknown value using
		get_user_by.
		
		see: http://codex.wordpress.org/Function_Reference/get_user_by
	**/
	

	return $args;
}

Code Snippet Library [Subscriber Content]

  • Reset password with just an email address
  • Reset password with just email
See a list of all filter and action hooks

Welcome to RocketGeek Interactive › Forums › Plugins › WP-Members › WP-Members Documentation › Filter Hooks › wpmem_pwdreset_args

  • This topic has 0 replies, 1 voice, and was last updated 7 years, 8 months ago by Chad Butler.
Viewing 0 reply threads
  • Author
    Posts
    • August 26, 2013 at 6:47 pm #3034
      Chad Butler
      Keymaster

      [See the full post at: wpmem_pwdreset_args]

  • Author
    Posts
Viewing 0 reply threads
  • You must be logged in to reply to this topic.
Log In

Ready to get started?

Join Today!

© 2021 · butlerblog.com · RocketGeek is built using WordPress, WP-Members, and the Genesis Framework

  • butlerblog.com
  • WP-Members Support Subscription
  • Terms of Service
  • Refund Policy