• 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

Member Links Filter Advanced Demo

Chad Butler · Mar 5, 2012 ·

Member Links Filter Advanced DemoHere is an advanced demonstration of what you can do with the links filter hooks in WP-Members.  For this example, we are going to add some content to the Members Area page.

What we will create in this example will add the username, a gravatar image, some and some registration details to our members area page.  It will look something like the image here.  This example used the TwentyTen theme. Continue Reading →

wpmem_captcha

Description

This is a filter hook for customizing the HTML for the WP-Members captcha. It fires for all of the available captchas, regardless of which captcha is selected.

NOTE: While it can be used to customize the HTML and thus implement a different, unsupported captcha, that process would also involve handling the captcha result in form validation. The simple use of this filter is simply to handle customizing the HTML for the existing, selected captcha type.

Parameters

$html
(string)(required) The HTML for the captcha

Example

/**
 * The wpmem_captcha filter allows you to filter the HTML
 * for any of the available captcha methods in the plugin.
 * It filters the entire HTML string that applies the
 * captcha.
 * 
 * NOTE: This filters the pre-submitted form HTML for the
 * captcha (which is essentially the necessary JavaScript).
 * It does NOT affect anything on the form validation side
 * of things, so you cannot use this alone to change the
 * capctha type.  That is a more involved process. You
 * can, however, use this to customize the HTML of the 
 * existing captcha type you are using (which is what it
 * is intended for).
 */
add_filter( 'wpmem_captcha', function( $captcha_html ) {

    // your custom HTML for the captcha here.

    return $captcha_html;
});

Changelog

  • Introduced in version 3.3.5

Source

wpmem_captcha is located in  /includes/class-wp-members-captcha.php

Dashboard

Already a Member? Log In Here
   
Forgot password? Click here to reset

To gain full access to WP-Members premium content, a current support subscription is required. You can purchase an annual support subscription for as little as $59, which provides you with access to priority support, a customer support forum, access to code snippets, and more.

Why wait? Choose your subscription option here.

[
Why join?]

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 50
  • Page 51
  • Page 52

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