WP-Members provides a number of filters that let you get more control over how the plugin works with your site. This feature makes this one of the most extensible members/post restriction plugins available.
This page is a complete list of filter and action hooks available in the plugin. For specific details about a particular hook, including parameters passed to it, click through for more specific data and links to examples. Hooks available in new versions indicate the WP-Members version number they were introduced in (which may require you to upgrade if you intend to use the hook).
Note: All WP-Members hooks begin with wpmem_ in order to differentiate them from WP hooks and any other hooks that may be in your theme or other plugins.
Filter Hooks:
Blocking:
- wpmem_settings
- wpmem_regchk
- wpmem_block
- wpmem_block_args
- wpmem_securify
- wpmem_securify_comments
Redirection:
Content:
Dialogs and Messages:
Widget:
- wpmem_sidebar_status
- wpmem_sidebar_status_args
- wpmem_sb_login_args
- wpmem_sb_hidden_fields
- wpmem_sb_reg_link_str
- wpmem_sb_forgot_link_str
- wpmem_login_failed_sb
- wpmem_sidebar_form
- wpmem_widget_title
Login & Change/Reset Password Form:
- wpmem_inc_login_inputs
- wpmem_inc_login_args
- wpmem_inc_changepassword_inputs
- wpmem_inc_changepassword_args
- wpmem_inc_resetpassword_inputs
- wpmem_inc_resetpassword_args
- wpmem_login_form_args
- wpmem_login_form_rows
- wpmem_login_hidden_fields
- wpmem_login_form_buttons
- wpmem_login_form_before
- wpmem_login_form
- wpmem_forgot_link
- wpmem_forgot_link_str
- wpmem_reg_link
- wpmem_reg_link_str
- wpmem_username_link
- wpmem_username_link_str
Register & User Profile Update Form:
- wpmem_fields
- wpmem_register_form_args
- wpmem_register_fields_arr (deprecated in 3.1.7, use wpmem_fields)
- wpmem_reg ister_form_rows
- wpmem_tos_link_txt
- wpmem_recaptcha
- wpmem_register_captcha_row
- wpmem_register_hidden_fields
- wpmem_register_form_buttons
- wpmem_register_heading
- wpmem_user_edit_heading
- wpmem_register_form_before
- wpmem_register_form
Form Submission:
Email:
Admin:
- wpmem_admin_tabs
- wpmem_admin_style_list
- wpmem_admin_profile_heading
- wpmem_admin_profile_field
- wpmem_admin_profile_update
- wpmem_admin_post_meta_title
- wpmem_admin_page_meta_title
- wpmem_export_args
Miscellaneous:
- wpmem_plugins_file
- wpmem_user_upload_dir
- wpmem_localization_file
- wpmem_localization_dir
Advanced Options Extension:
- wpmem_adv_toolbar_capability
- wpmem_adv_dashboard_capability
- wpmem_adv_redirect_criteria
- wpmem_adv_update_notify_args
- wpmem_adv_wc_autologout_default
- wpmem_adv_wc_autologout_msg
- wpmem_adv_edd_link_error
PayPal Subscription Extension:
- wpmem_exp_experiod
- wpmem_exp_paypal
- wpmem_exp_success_msg
- wpmem_exp_expired_msg
- wpmem_exp_sc_expmsg
- wpmem_payment_form
- wpmem_payment_form_msg
- wpmem_paypal_html_variables
- wpmem_payment_button_args
- wpmem_payment_button
- wpmem_exp_ipn_defaults
- wpmem_exp_reminder_interval
- wpmem_exp_experiod_max
- wpmem_exp_ipn_logfile
- wpmem_exp_curl_options
- wpmem_exp_ipn_defaults
User List Extension:
- wpmem_ul_settings_args
- wpmem_ul_search_args
- wpmem_ul_search_form
- wpmem_ul_results_heading
- wpmem_ul_nav
- wpmem_ul_list_args
- wpmem_ul_user_list
- wpmem_ul_error_msg
- wpmem_ul_h2
- wpmem_ul_empty_h2
- wpmem_ul_user_rows
- wpmem_ul_user
- wpmem_ul_empty_field
- wpmem_ul_style_path
- wpmem_ul_wpmem_txt
- wpmem_ul_strip_breaks
- wpmem_ul_profile_args
- wpmem_ul_profile_empty
- wpmem_ul_profile_rows
MailChimp Extension:
User Tracking Extension:
Action Hooks:
- wpmem_pre_init
- wpmem_after_init
- wpmem_get_action
- wpmem_pwd_change
- wpmem_pwd_reset
- wpmem_register_redirect
- wpmem_pre_register_data
- wpmem_post_register_data
- wpmem_pre_update_data
- wpmem_post_update_data
- wpmem_user_activated
- wpmem_pre_admin_init
- wpmem_after_admin_init
- wpmem_admin_do_tab
- wpmem_admin_after_block_meta
- wpmem_admin_block_meta_save
PayPal Subscription Extension:
- wpmem_exp_after_set_exp
- wpmem_ipn_start
- wpmem_ipn_validation
- wpmem_ipn_success
- wpmem_ipn_invalid
- wpmem_ipn_invalid