E20R Better Members List for Paid Memberships Pro 8.6 has 9 actions and 56 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when E20R Better Members List for Paid Memberships Pro fires an action
add_action( 'pmpro_before_members_list_csv_export', function( $member_list ) {
// Your code runs here.
}, 10, 1 );
// Change a value E20R Better Members List for Paid Memberships Pro is about to use
add_filter( 'e20r_members_list_csv_datetime_format', function( $expected_format, $date_format, $time_format ) {
// Change $expected_format here.
return $expected_format;
}, 10, 3 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Trigger action for bulk Cancel (allows external handling of bulk cancel * operation if needed/desired) */ do_action( "e20r_memberslist_process_bulk_{$this->operation}_done", $this, $this->get( 'members_to_update' ) ); -
/** * Filter to the format for the time (default is the WordPress General Setting * value for Time) */ apply_filters( 'e20r_members_list_csv_datetime_format', $expected_format, $date_format, $time_format ); -
/** * Filter to the format for the time (default is the WordPress General Setting * value for Time) */ apply_filters( 'e20r_members_list_csv_timeformat', get_option( 'time_format' ) ); -
/** * Map of Database column keys and CSV export column keys */ apply_filters( 'e20r_members_list_db_type_header_map', array( 'user_id' => array( 'db_key' => 'ID', 'type' => 'wp_user', 'header_key' => 'ID', ), 'user_login' => array( 'db_key' => 'user_login', 'type' => 'wp_user', 'header_key' => 'user_login', ), 'first_name' => array( 'db_key' => 'first_name', 'type' => 'meta_values', 'header_key' => 'first_name', ), 'last_name' => array( 'db_key' => 'last_name', 'type' => 'meta_values', 'header_key' => 'last_na... ); -
/** * Fetch/update the CSV export entry for the $member */ apply_filters( 'e20r_members_list_load_export_value', $csv_record, $member ); -
/** * Let 3rd party define the value to use for a 3rd party defined default column */ apply_filters( 'e20r_members_list_set_default_column_value', $column_value, $column_name, $column_type, $member ); -
/** * Add/remove columns from the members list. */ apply_filters( 'e20r_memberslist_columnlist', array(), $columns ); -
/** * Filter to set the default sort order for the members list */ apply_filters( 'e20r_memberslist_default_sort_order', $sort_order ); -
/** * Add filtering to the URI (to preserve it for pagination ,etc) */ apply_filters( 'e20r_memberslist_pagination_args', $arg_list ); -
/** * Filter to change/modify the tables and joins list. Will get (partially) * validated, so sp */ apply_filters( 'e20r_memberslist_tables_and_joins', $this->table_list ); -
/** * Return the status after executing custom table/join check(s) */ apply_filters( 'e20r_memberslist_verify_table_join_array', true, $list ); -
/** * The default mapping of DB columns (<table alias>.<column name>) to their * respective alias(s) */ apply_filters( 'e20r_sql_column_alias_map', $this->sql_col_list ); -
/** * Old: e20r-members-list-enddate-col-name, new: * e20r_members_list_enddate_col_name */ apply_filters( 'e20r-members-list-enddate-col-name', $this->default_columns['last'], $this->requested_status ); -
/** * Pre-export actions */ do_action( 'pmpro_before_members_list_csv_export', $this->member_list ); -
/** * Filter to the format for the date (default is the WordPress General Setting * value for Date) */ apply_filters( 'pmpro_memberslist_csv_dateformat', get_option( 'date_format' ) ); -
/** * Filter to set max number of records to process at a time for the export * (helps manage memory footprint) */ apply_filters( 'pmpro_set_max_user_per_export_loop', 2000 ); -
apply_filters( 'e20r_members_list_default_member_status', 'active' ); -
apply_filters( 'e20r_members_list_enddate_col_name', esc_attr_x( 'Expired', 'e20r-members-list' ), $this->requested_status ); -
apply_filters( 'e20r_memberslist_order_by', array_map( 'trim', explode( ',', $this->utils->get_variable( 'orderby', 'ml.id, u.user_email' ) ) ) ); -
apply_filters( 'e20r_memberslist_sort_order', $this->utils->get_variable( 'order', 'DESC' ) ); -
apply_filters( 'pmpro_members_list_csv_extra_columns', array() ); -
apply_filters( 'pmpro_memberslist_expires_column', date_i18n( $datetime_format, strtotime( $column_value, time() ) ), $member ); -
do_action( "activate_{trim($plugin)}" ); -
do_action( 'activate_plugin', trim( $plugin ) ); -
do_action( 'activated_plugin', trim( $plugin ) ); -
apply_filters( 'e20r_memberlist_bulk_actions', $actions ); -
apply_filters( 'e20r_members_list_add_to_default_table_columns', $new_columns, $columns ); -
apply_filters( 'e20r_members_list_csv_dateformat', $date_format ); -
apply_filters( 'e20r_members_list_default_csv_columns', $this->default_columns ); -
apply_filters( 'e20r_members_list_empty_date_values', array() ); -
apply_filters( 'e20r_members_list_enddate_col_result', $date_value, $item ); -
apply_filters( 'e20r_members_list_expires_col_value', $enddate_value, $member ); -
apply_filters( 'e20r_members_list_page_prepend_cols', false ); -
apply_filters( 'e20r_memberslist_active_statuses', array( 'active' ) ); -
do_action( 'e20r_memberslist_addl_search_options', $this->search, $this->level ); -
apply_filters( 'e20r_memberslist_bulk_action_data_array', $data, $action, $level_id ); -
apply_filters( 'e20r_memberslist_bulk_checkbox', sprintf( '<input type="checkbox" name="%1$s[]" value="%2$s" />', "{$this->_args['singular']}_user_id", $item['ID'] ) ); -
apply_filters( 'e20r_memberslist_cancelled_statuses', array( 'cancelled', 'admin_cancelled', 'admin_change', 'admin_changed', 'changed', 'inactive', ) ); -
apply_filters( 'e20r_memberslist_column_value_free', esc_attr__( 'Free', 'e20r-members-list' ) ); -
apply_filters( 'e20r_memberslist_custom_column', $value, $item, $name ); -
apply_filters( 'e20r_memberslist_expired_statuses', array( 'expired' ) ); -
apply_filters( 'e20r_memberslist_export_sort_order', 'mu.membership_id, u.user_email' ); -
apply_filters( 'e20r_memberslist_exportcsv_search_args', array( 'action' => 'memberslist_csv', 'find' => esc_attr( $this->search ), 'level' => esc_attr( $this->level ), 'showDebugTrace' => 'true', ) ); -
apply_filters( 'e20r_memberslist_group_by', array_map( 'trim', explode( ',', $this->utils->get_variable( 'groupby', 'ml.id, u.ID' ) ) ) ); -
apply_filters( 'e20r_memberslist_group_by_statement', $this->group_by, $group_by ); -
apply_filters( 'e20r_memberslist_http_headers', $this->headers ); -
apply_filters( 'e20r_memberslist_member_status', $this->get_pmpro_statuses() ); -
apply_filters( 'e20r_memberslist_membership_starts_at_midnight', __return_true() ); -
apply_filters( 'e20r_memberslist_order_by_statement', $this->order_by, $order_by, $order ); -
apply_filters( 'e20r_memberslist_per_page', $per_page ); -
do_action( 'e20r_memberslist_process_action', $action, $user_id, $level_id ); -
do_action( 'e20r_memberslist_process_custom_bulk_actions', $nonce, $action, $bulk_actions, $data, $this->_args['plural'] ); -
apply_filters( 'e20r_memberslist_search_user_fields', array( 'user_login', 'user_nicename', 'display_name', 'user_email', ) ); -
apply_filters( 'e20r_memberslist_search_usermeta_fields', array( 'meta_value' ) ); -
apply_filters( 'e20r_memberslist_sort_filter', $result, $order_by, $order, $page_number, $per_page ); -
apply_filters( 'e20r_memberslist_sortable_columns', $sortable_columns ); -
apply_filters( 'e20r_memberslist_sql_where_statement', $this->where, $this->find, $this->levels_sql, $this->joins ); -
apply_filters( 'e20r_memberslist_user_row_actions', $actions, $user ); -
apply_filters( 'e20r_utilities_module_installed', false ); -
apply_filters( 'plugin_locale', get_locale(), 'e20r-members-list' ); -
do_action( 'pmpro_after_members_list_csv_export' ); -
apply_filters( 'pmpro_members_list_csv_default_columns', $this->default_columns ); -
apply_filters( 'pmpro_members_list_csv_heading', implode( ',', array_keys( $this->header_map ) ) );
Generated from E20R Better Members List for Paid Memberships Pro's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: