rcp_before_form_errors

This happens just before the login form is validated. It allows you to show errors for custom fields you have added.

Parameters:

  • $_POST - Array of all information sent with the form.