• 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

Set user forum access when using bbPress with the PayPal subscription extension

Chad Butler · Nov 2, 2014 ·

When using WP-Members with bbPress and the WP-Members PayPal subscription extension, there are some additional considerations for your setup to integrate these plugins smoothly and restrict forum access for paid users who have a valid expiration date.  

Continue Reading →

Add front end field sorting to the User List

Chad Butler · Nov 1, 2014 ·

This set of code snippets will add a list of sorting links to the top of the User List, a link for each of the fields displayed in the main list. 

Continue Reading →

WP-Members Documentation

Getting Started

Recommended WordPress Settings

Plugin Settings

  • Options

  • Fields

  • Dialogs

  • Emails

Managing Content

  • Restricting Posts

  • Restricting Pages

  • Show Excerpts

Managing Users

Registration

  • Choosing Fields

  • Create a Registration Page

  • Moderating Registration

  • Using CAPTCHA

  • Turn Off Registration

User Profile Area

  • Creating a User Profile Area

  • User Profile Location

Customizing Emails

  • Set a Custom Email Address

  • Custom Email Content

  • Email Shortcodes

Customizing Forms

Shortcodes

  • Page

  • Login Status

  • Fields

  • Email

  • Other

Filter and Action Hooks

FAQs

wpmem_ul_settings_args

Description

This filter allows you to pass arguments to the User List to override default values set in the admin or passed through the shortcode. The wpmem_list_users function uses the wp_parse_args function to merge arguments passed through this filter with the following defaults:

$defaults = shortcode_atts( array(
    'display_style'=> 'list',       // list|table
    'role'         => 'subsriber',  // role to filter by
    'active_only'  => true,
    'verified_only' => true,
    'exclude'      => '',           // comma separated string of user ids
    'number'       => 10,           // number to display per page
    'search'       => true,         // is search enabled, "true"
    'search_by'    => '',           // comma separated string of meta keys
    'fields'       => 'user_login,member_since',
    'local_avatar' => false,        // whether to use a local avatar or gravatar
    'avatar'       => 45,           // size of the avatar in pixels
    'h2'           => 'first_last', // 
    'order_by'     => 'user_login',
    'order_meta'   => '',
    'order'        => 'ASC',
    'show_titles'  => false,
    'show_empty'   => true,
    'filter_key'   => '',
    'filter_value' => '',
    'fe_user_edit' => false,
), $atts, $tag );

Parameters

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

Changelog

Introduced in extension version 1.4

Source

wpmem_ul_settings_args is located in wp-members-user-list.php

Create an option for users to opt out of User Directory

Chad Butler · Jul 3, 2014 ·

This code snippet is specifically for the User List extension, which many users use to implement a User Directory. The code snippet discussed here will demonstrate how to include on option in the registration form for users to “opt out” of being displayed in the directory.  

Continue Reading →
  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 35
  • Page 36
  • Page 37
  • Page 38
  • Page 39
  • Interim pages omitted …
  • Page 53
  • 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