• Log In
  • Welcome
  • Features
  • Pricing
  • Documentation
  • Add Ons
  • Payment Gateways
  • Support
  • Showcase
  • Blog
  • Contact

Log In


Join Now | Lost Password?

Skip to content

Paid Memberships Pro

WordPress Membership Plugin
  • Log In
  • Choose a Plan
  • Features
    • Product Overview
    • Screenshots
    • About Us
  • Pricing
  • Documentation
  • Add Ons
  • Gateways
  • Support
  • Showcase
  • Blog
Home  >  All Action and Filter Hooks  >  pmpro_members_list_sql

pmpro_members_list_sql

Filters the SQL query used on the Members List and Members List CSV export. Passes the SQL query string.

apply_filters('pmpro_members_list_sql', string $sqlQuery);

apply_filters('pmpro_members_list_sql', string $sqlQuery);

Parameters

$sqlQuery
string

Source

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/adminpages/memberslist-csv.php

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/adminpages/reports/login.php

View in Source Code

Related Articles and Recipes

Include Current Free Members With a Past Paid Level in the Filtered Members List View By Jason Coleman

Display Order Transaction IDs and Allow Search by ID in the WordPress Admin By Jason Coleman

Speed Up Member and User Search in Your WordPress Site By Jason Coleman

Search Specific User and User Meta Fields (Register Helper Fields) on the Members List By Kimberly Coleman

Action and Filter Hooks

  • adminpages/advancedsettings.php
  • adminpages/dashboard.php
  • adminpages/discountcodes.php
  • adminpages/membershiplevels.php
  • adminpages/memberslist.php
  • adminpages/memberslist-csv.php
  • adminpages/orders.php
  • adminpages/orders-csv.php
  • adminpages/pagesettings.php
  • adminpages/paymentsettings.php
  • adminpages/reports/login.php
  • adminpages/reports/memberships.php
  • classes/class-pmpro-admin-activity-email.php
  • classes/class-pmpro-discount-codes.php
  • classes/class-pmpro-levels.php
  • classes/class-pmpro-members-list-table.php
  • classes/class.memberorder.php
  • classes/class.pmproemail.php
  • classes/gateways/class.pmprogateway.php
  • classes/gateways/class.pmprogateway_authorizenet.php
  • classes/gateways/class.pmprogateway_braintree.php
  • classes/gateways/class.pmprogateway_check.php
  • classes/gateways/class.pmprogateway_cybersource.php
  • classes/gateways/class.pmprogateway_payflowpro.php
  • classes/gateways/class.pmprogateway_paypal.php
  • classes/gateways/class.pmprogateway_paypalexpress.php
  • classes/gateways/class.pmprogateway_paypalstandard.php
  • classes/gateways/class.pmprogateway_stripe.php
  • classes/gateways/class.pmprogateway_twocheckout.php
  • includes/addons.php
  • includes/admin.php
  • includes/adminpages.php
  • includes/capabilities.php
  • includes/content.php
  • includes/countries.php
  • includes/crons.php
  • includes/currencies.php
  • includes/email.php
  • includes/functions.php
  • includes/https.php
  • includes/init.php
  • includes/license.php
  • includes/login.php
  • includes/menus.php
  • includes/profile.php
  • includes/rest-api.php
  • includes/scripts.php
  • includes/spam.php
  • includes/states.php
  • pages/account.php
  • pages/billing.php
  • pages/checkout.php
  • pages/confirmation.php
  • pages/invoice.php
  • paid-memberships-pro.php
  • preheaders/account.php
  • preheaders/billing.php
  • preheaders/checkout.php
  • preheaders/confirmation.php
  • preheaders/levels.php
  • preheaders/member_profile_edit.php
  • scheduled/crons.php
  • services/applydiscountcode.php
  • services/authnet-silent-post.php
  • services/braintree-webhook.php
  • services/getfile.php
  • services/ipnhandler.php
  • services/stripe-webhook.php
  • services/twocheckout-ins.php
  • shortcodes/pmpro_account.php
  • shortcodes/pmpro_member.php

Build a membership site—for free.

The fastest way to charge for access to your WordPress site. Our core plugin is free and includes more than other membership plugins. You deserve more.

Start for Free
Choose a Plan

We’re 100% GPL

Our plugin's code is not obfuscated, runs on as many sites as you want and can be customized to fit your project's needs. We just ask that you follow the GPLv2 guidelines by applying the GPLv2 license to any altered or unaltered version of PMPro that you distribute. License Details »

GPL v2

Recent Articles and Updates

  • Theunis Coetzee
    Add Membership Level Name to Expired Email Template
  • How to Attract Students to Your Online Course in 3 Steps
  • How Recurring Payments Work with Paid Memberships Pro

Platform

  • Pricing
  • Features
  • Reviews
  • Screenshots
  • Videos
  • Compatibility

Add Ons

  • Free
  • Standard
  • Plus
  • User
  • Integration
  • View All

Get Help

  • Support
  • Download & Install
  • Hosting
  • Developers
  • Blog
  • Contact Us

Company

  • About Us
  • Work With Us
  • Brand Assets
  • Affiliates
  • Privacy Policy
  • Terms of Service
Follow Us On

© 2022 Paid Memberships Pro. All Rights Reserved.