• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

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
  • Store
    • Cart
    • Checkout
  • Blog
    • Basics [Free]
    • Tips and Tricks
    • Filters
    • Actions
    • Code Snippets
    • Shortcodes
    • Design
    • Release Announcements
  • Contact
  • Sign In
  • Show Search
Hide Search
Home » Plugins » WP-Members » Documentation » Filter and Action Hooks

Filter and Action Hooks

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
  • wpmem_user_has_access

Redirection:

  • wpmem_login_redirect
  • wpmem_logout_redirect
  • wpmem_register_redirect

Content:

  • wpmem_auto_excerpt

Dialogs and Messages:

  • wpmem_logout_link
  • wpmem_login_links_args
  • wpmem_login_links
  • wpmem_register_links_args
  • wpmem_register_links
  • wpmem_member_links_args
  • wpmem_member_links
  • wpmem_restricted_msg
  • wpmem_msg_dialog_arr
  • wpmem_msg_dialog
  • wpmem_login_failed_args
  • wpmem_login_failed
  • wpmem_status_msg_args
  • wpmem_default_text_strings
  • wpmem_product_restricted_msg

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:

  • wpmem_pre_validate_form
  • wpmem_register_data
  • wpmem_pwdreset_args
  • wpmem_exclude_fields

Email:

  • wpmem_email_filter
  • wpmem_email_newreg
  • wpmem_email_newmod
  • wpmem_email_appmod
  • wpmem_email_repass
  • wpmem_email_notify
  • wpmem_email_headers
  • wpmem_email_shortcodes
  • wpmem_notify_addr
  • wpmem_notify_filter

Admin:

  • wpmem_admin_tabs
  • wpmem_admin_style_list
  • wpmem_admin_profile_heading
  • wpmem_admin_profile_field
  • wpmem_admin_profile_update
  • wpmem_admin_{$post_type}_meta_title
  • wpmem_export_args
  • wpmem_user_export_header
  • wpmem_user_export_row
  • wpmem_dialogs

Miscellaneous:

  • wpmem_plugins_file
  • wpmem_user_upload_dir
  • wpmem_localization_file
  • wpmem_localization_dir
  • wpmem_dropin_folder

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:

  • wpmem_mc_merge

User Tracking Extension:

  • wpmemstat_user_exclude
  • wpmemstat_user_droplist
  • wpmemstat_user_droplist_args
  • wpmemstat_display_fields
  • wpmemstat_max_per_user
  • wpmemstat_max_per_page
  • wpmemstat_date_format

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
  • Getting Started
  • Recommended WordPress® Settings
  • Plugin Settings
    • Options
    • Fields
    • Dialogs
    • Emails
    • New Feature Settings
  • Managing Content
    • Restricting Posts
    • Restricting Pages
    • Show Excerpts
    • Custom Post Types
  • Managing Users
  • Registration
    • Choosing Fields
    • Create a Registration Page
    • Moderating Registration
    • Using CAPTCHA
    • Removing Registration Options
  • User Profile
  • Membership Products
    • Membership Properties
  • Menus
    • Individual Menu Items
    • Logged In Menus
    • Login/Logout Menu Link
  • Customizing Emails
    • Email Address
    • Email Content
    • Email Format
    • Email Shortcodes
    • Email Troubleshooting
  • Customizing Forms
    • Create a Custom Stylesheet
    • Using the WordPress Customizer
    • Login Form HTML
    • Registration Form HTML
    • Widget Login Form HTML
  • Shortcodes
    • Pages and Forms
    • Login Status
    • User Fields
    • Email
    • Other Shortcodes
  • WP-CLI Commands
  • API Functions
  • Filter and Action Hooks
  • WP-Members FAQs
    • How to add a shortcode
    • How to apply login redirects
  • Demo Videos

Ready to get started?

Join Today!

© 2021 · butlerblog.com · RocketGeek is built using WordPress, WP-Members, and the Genesis Framework

  • butlerblog.com
  • WP-Members Support Subscription
  • Terms of Service
  • Refund Policy