Created
November 4, 2022 12:25
-
-
Save yuriinalivaiko/dc85ddf2e90cefb53d3f1843c1b8bc55 to your computer and use it in GitHub Desktop.
Hook um_submit_form_errors_hook_login
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Hook: um_submit_form_errors_hook_login | |
* | |
* Type: action | |
* | |
* Description: Fires on the Login Form submit validation. | |
* | |
* @example https://github.com/ultimatemember/ultimatemember/blob/master/includes/core/um-actions-form.php#L222 | |
* @link https://docs.ultimatemember.com/article/1279-umsubmitformerrorshooklogin | |
* | |
* @package um\core | |
* @see um_submit_form_errors_hook() | |
* @since 2.0 | |
* @version 3.0 | |
* | |
* @param array $args Form arguments. | |
*/ | |
function my_submit_form_errors_hook_login( $args ) { | |
// your code here. | |
} | |
add_action( 'um_submit_form_errors_hook_login', 'my_submit_form_errors_hook_login', 10, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment