Action and Filter Hooks
Forms and Fields
Action Hook: user_meta_before_form (since 1.1.3rc2)
Runs when generating form. Calling just before <form> tag.
Function arguments: Form Name (string)
Action Hook: user_meta_after_form (since 1.1.3rc2)
Runs when generating form. Calling just after <form> tag.
Function arguments: Form Name (string)
Filter Hook: user_meta_form_config (since 1.1.3rc2)
Can be modify forms data by calling this filter hook.
Function arguments: Form Data (array), Form Name (string)
Filter Hook: user_meta_field_config (since 1.1.3rc2)
Can be modify fields data by calling this filter hook.
Function arguments: Form Data (array), Field ID (int), Form Name (string)
Filter Hook: user_meta_field_display (since 1.1.3rc2)
Applied to field html before browser output.
Function arguments: HTML (string), Field ID (int), Form Name (string), Field Data (array)
Filter Hook: user_meta_form_display (since 1.1.3rc2)
Applied to form html before browser output.
Function arguments: HTML (string), Form Name (string), Form Data (array)
User Registration
Fliter Hook: user_meta_pre_user_register (since 1.1.2)
This filter can be used to modify user data before user registration.
Function arguments: User Data (array)
Action Hook: user_meta_after_user_register (since 1.1.2)
Runs when user registration is completed.
Function arguments: Response (object)
User Profile Update
Fliter Hook: user_meta_pre_user_update (since 1.1.3rc2)
This filter can be used to modify user data before user profile update.
Function arguments: User Data (array)
Action Hook: user_meta_after_user_update (since 1.1.3rc2)
Runs when user update their profile.
Function arguments: Response (object)
User Activation/Deactivation
Action Hook: user_meta_user_activate (since 1.1.2)
Runs when user activated.
Function arguments: User ID (int)
Action Hook: user_meta_user_deactivate (since 1.1.2)
Runs when user deactivated.
Function arguments: User ID (int)
Email Verification
Action Hook: user_meta_email_verified (since 1.1.2)
Runs when user verified their email.
Function arguments: User ID (int)
Redirection
Filter Hook: login_redirect (since 1.1.2)
Can be used to change login redirection url.
Filter Hook: logout_redirect (since 1.1.2)
Can be used to change login redirection url.
Filter Hook: registration_redirect (since 1.1.2)
Can be used to change login redirection url.
Messages
Filter Hook: user_meta_msg (since 1.1.3rc2)
Message text can be changed by this filter.
Function arguments: Message (string), Message Key (string)