• 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

wpmem_adv_update_notify_args

Description

Filters the notification email settings when a user updates their profile data.

Parameters

$defaults
(array) (required) The values to be filtered.

$chk_fields
(array) (optional) The user’s original data.

$fields
(array) (optional) The user’s updated data.

$userdata
(array) (optional)

Usage

Example changes default subject line, adds username to the email subject line.

add_filter( 'wpmem_adv_update_notify_args', function( $settings, $chk_fields, $fields ) {
      global $userdata;
      $settings['subject'] = $userdata->user_login . ' updated their profile info!';
      return $settings;
}, 10, 3 );

Changelog

  • Introduced in version 1.1
  • Since 1.6 no longer passes $userdata
  • Since 2.? added $fields
  • Since 2.2.1 added $userdata

Source

wpmem_adv_dashboard_capability is located in includes/class-wp-members-advanced-options.php

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 51
  • Page 52
  • Page 53

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