Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuriinalivaiko/c5882a6e556f67e6287a91737dabf30f to your computer and use it in GitHub Desktop.
Save yuriinalivaiko/c5882a6e556f67e6287a91737dabf30f to your computer and use it in GitHub Desktop.
Hook um_reset_password_page_hidden_fields
<?php
/**
* Hook: um_reset_password_page_hidden_fields
*
* Type: action
*
* Description: Fires after rendering hidden fields in the password reset form.
* May be used to add custom hidden fields or display custom content in the password reset form header.
*
* @example https://github.com/ultimatemember/ultimatemember/blob/master/templates/password-reset.php#L48
* @link https://docs.ultimatemember.com/article/1240-umresetpasswordpagehiddenfields
*
* @package um\templates
* @see templates/password-reset.php
* @since 2.0
* @deprecated since version 3.0
*
* @param array $args Password reset form shortcode arguments.
*/
function my_reset_password_page_hidden_fields( $args ) {
// your code here.
}
add_action( 'um_reset_password_page_hidden_fields', 'my_reset_password_page_hidden_fields', 10, 1 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment