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

Filter 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 hooks available in the plugin (find action hooks on this page).  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.

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

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
  • 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 Hooks
  • Action Hooks
  • FAQs
    • How to add a shortcode
    • How to apply login redirects
    • Why can’t users log in?
    • Why does reCAPTCHA v3 fail?
    • How can I prevent registration spam?
    • Are files protected?
    • Why do I get a 403 error?
  • Demo Videos
  • How to Request Support
  • Copy Settings for Support

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