• 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 and Action Hooks » wpmem_inc_resetpassword_args

wpmem_inc_resetpassword_args

Description

This hook allows you to override the defaults for the password reset form. While there are four elements in the array, it is not recommended that you change the “action” or the “inputs” values.  The “action” value determines what action is being handled by the form, and the “inputs” can be filtered more directly with wpmem_inc_resetpassword_inputs.

$defaults = array(
	'heading'      => "Reset Forgotten Password",
	'button_text'  => "Reset Password",
	'action'       => "pwdreset", 
	'inputs'       => $default_inputs
);

Parameters

$args
(array) (required) An array of arguments that are to override form $defaults.

Changelog

Introduced in version 2.9.0

Source

wpmem_inc_resetpassword_args is located in forms.php

Usage

add_filter( 'wpmem_inc_resetpassword_args', 'my_resetpassword_args' );

function my_resetpassword_args( $args )
{
	/**
	 * This example changes the heading
	 * and button text.
	 */
	$args = array(
		'heading'      => "Request New Password",
		'button_text'  => "Reset My Password"
	);

	return $args;
}

Code Snippet Library [Subscriber Content]

  • Remove form headings
See a list of all filter and action hooks

Welcome to RocketGeek Interactive › Forums › Plugins › WP-Members › WP-Members Documentation › Filter and Action Hooks › wpmem_inc_resetpassword_args

  • This topic has 0 replies, 1 voice, and was last updated 6 years, 10 months ago by Chad Butler.
Viewing 0 reply threads
  • Author
    Posts
    • April 6, 2014 at 4:52 pm #4548
      Chad Butler
      Keymaster

      Description This hook allows you to override the defaults for the password reset form. While there are four elements in the array, it is not recommend
      [See the full post at: wpmem_inc_resetpassword_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