• 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

Allow Users to Delete Account (with confirmation message)

Chad Butler · Nov 21, 2017 ·

Continue Reading →

Use jQuery to create a Log In/Log Out menu link

Chad Butler · Aug 3, 2017 ·

This article is provided free. Find out how you can get full access to premium content, including how-to articles and support forums, as well as priority email support and member exclusive plugin extensions..

 

This simple tutorial will help you create a Log In/Log Out menu link that will display a link to the login page when the user is not logged in and a link to log out when they are logged in. This has now been incorporated into the plugin as a standard feature - all you need to do is add a login link to the menu and give it a custom class of "wpmem_loginout". See documentation on this feature.  This tutorial remains primarily for informational and educational purposes OR if you'd simply like to customize the login/out menu item.  Continue Reading →

WP-Members 3.1.9

Chad Butler · Jul 28, 2017 ·

This article is provided free. Find out how you can get full access to premium content, including how-to articles and support forums, as well as priority email support and member exclusive plugin extensions..

 

The WP-Members 3.1.9 release should clean up some loose ends before the next major update (where there will be some settings changes and some other feature changes).  There are not any major changes in 3.1.9 that would prevent rolling back to a previous version. Here's an overview of the changes in this release.  Continue Reading →

WP-Members 3.1.8

Chad Butler · May 31, 2017 ·

This article is provided free. Find out how you can get full access to premium content, including how-to articles and support forums, as well as priority email support and member exclusive plugin extensions..

 

WP-Members 3.1.8 is complete and is now available for upgrading. Here is what's in store for you in this new release:  Continue Reading →

wpmem_export_args

Description

Filters the default settings for WP-Members' user export process.

Defaults:

$defaults = array( 
    'export'         => 'all', 
    'filename'       => 'wp-members-user-export-' . date( "Y-m-d" ) . '.csv', 
    'fields'         => $export_fields, // (from wpmem_export_fields fitler)
    'entity_decode'  => false,
    'date_format'    => 'Y-m-d', // Use PHP date format
    'required_caps'  => 'list_users', // WP capability required to export
    
    'export_fields'  => '', // Deprecated 3.4.0, use 'fields' instead.
    'exclude_fields' => '', // Deprecated 3.4.0, use the wpmem_export_fields filter hook instead.
);

Parameters

$args
(array) (required) An array of any defaults being changed.

$tag
(string) (optional) The export being performed, default value: "default"

Example

/**
 * This example sets the export function to decode HTML entities
 * in the export.
 */
 
add_filter( 'wpmem_export_args', 'my_export_args' );
 
function my_export_args( $args ) {
     
    $args['entity_decode'] = true;
 
    return $args;
}

Changelog

  • Introduced in version 2.9.7
  • 3.4.0 Filters all defaults, then uses wp_parse_args() to fill missing defaults
  • 3.4.0 Added $tag parameter
  • 3.4.0 Deprecated exclude_fields (unset using wpmem_export_fields instead)
  • 3.4.0 Deprecated export_fields, use fields instead

Source

wpmem_export_args is located in includes/class-wp-members-user-export.php

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 26
  • Page 27
  • Page 28
  • Page 29
  • Page 30
  • Interim pages omitted …
  • Page 52
  • Go to Next Page »

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