*/ do_action( 'um_reset_password_page_hidden_fields', $args ); if ( ! empty( $_GET['updated'] ) ) { ?>
builtin()->get_specific_fields( 'username_b' ); $output = null; foreach ( $fields as $key => $data ) { $output .= UM()->fields()->edit_field( $key, $data ); } echo $output; /** * UM hook * * @type action * @title um_after_password_reset_fields * @description Hook that runs after user reset their password * @input_vars * [{"var":"$args","type":"array","desc":"Form data"}] * @change_log * ["Since: 2.0"] * @usage add_action( 'um_after_password_reset_fields', 'function_name', 10, 1 ); * @example * */ do_action( 'um_after_password_reset_fields', $args ); /** * Filters the classes applied to the primary button on the password reset form. * * @hook um_password_reset_form_primary_btn_classes * @since 2.10.5 * * @param {array} $classes An array of CSS classes applied to the primary button. * @param {array} $args An array of arguments or configurations used in the password reset form. * * @return {array} Button CSS classes. * * @example Extend the classes applied to the primary button on the password reset form. * function my_custom_classes( $classes, $args ) { * // Add a new class to the button * $classes[] = 'new-button-class'; * * return $classes; * } * add_filter( 'um_password_reset_form_primary_btn_classes', 'my_custom_classes', 10, 2 ); */ $primary_btn_classes = apply_filters( 'um_password_reset_form_primary_btn_classes', array( 'um-button' ), $args ); ?>
*/ do_action( 'um_reset_password_form', $args ); /** This action is documented in includes/core/um-actions-profile.php */ do_action( 'um_after_form_fields', $args ); } ?>