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:

Redirection:

Content:

Dialogs and Messages:

Widget Login Form:

Login & Change/Reset Password Form:

Register & User Profile Update Form:

Form Submission:

Email:

Admin:

Miscellaneous:

PayPal Subscription Extension:

User List Extension:

  • wpmem_ul_search_form
  • wpmem_ul_results_heading
  • wpmem_ul_nav
  • wpmem_ul_user_list
  • wpmem_ul_error_msg
  • wpmem_ul_h2 (1.1)
  • wpmem_ul_empty_h2 (1.1)
  • wpmem_ul_user
  • wpmem_ul_empty_field (1.1)
  • wpmem_ul_style_path (1.1)
  • wpmem_ul_wpmem_txt (1.2)
  • wpmem_ul_strip_breaks (1.2)
  • wpmem_ul_profile_args (1.4)
  • wpmem_ul_profile_empty (1.4)
  • wpmem_ul_profile_rows (1.4)

MailChimp Extension:

User Tracking Extension:

Action Hooks: