Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save yuriinalivaiko/c9db1617fdc1ac9379e8a69258eb8c90 to your computer and use it in GitHub Desktop.

Select an option

Save yuriinalivaiko/c9db1617fdc1ac9379e8a69258eb8c90 to your computer and use it in GitHub Desktop.
Hook um_change_password_page_hidden_fields
<?php
/**
* Hook: um_change_password_page_hidden_fields
*
* Type: action
*
* Description: Fires after rendering hidden fields in the change password form.
* This hook may be used to add custom hidden fields or display custom content in the change password form header.
*
* @example https://github.com/ultimatemember/ultimatemember/blob/master/templates/password-change.php#L32
* @link https://docs.ultimatemember.com/article/1079-umchangepasswordpagehiddenfields
*
* @package um\templates
* @see templates/password-change.php
* @since 2.0
* @deprecated since version 3.0
*
* @param array $args Change password form shortcode arguments.
*/
function my_change_password_page_hidden_fields( $args ) {
// your code here.
}
add_action( 'um_change_password_page_hidden_fields', 'my_change_password_page_hidden_fields', 10, 1 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment