__( 'Sign in', 'dashbread' ), 'register' => __( 'Create your account', 'dashbread' ), 'lost-password' => __( 'Reset your password', 'dashbread' ), 'reset-password' => __( 'Choose a new password', 'dashbread' ) ) ); $dashbread_custom = ! in_array( $dashbread_screen, Auth::ROUTES, true ); // an add-on's screen (Pro: two-factor) $dashbread_action = 'reset-password' === $dashbread_screen ? Auth::url( 'reset-password' ) : site_url( 'wp-login.php' . ( 'login' === $dashbread_screen ? '' : ( 'register' === $dashbread_screen ? '?action=register' : '?action=lostpassword' ) ), 'login_post' ); /** Where the card's form posts. Add-on screens post to themselves. */ $dashbread_action = (string) apply_filters( 'dashbread_auth_form_action', $dashbread_action, $dashbread_screen ); $dashbread_key = isset( $_GET['key'] ) ? sanitize_text_field( wp_unslash( $_GET['key'] ) ) : ''; $dashbread_rp_login = isset( $_GET['login'] ) ? sanitize_text_field( wp_unslash( $_GET['login'] ) ) : ''; // phpcs:enable WordPress.Security.NonceVerification.Recommended $dashbread_rp_valid = 'reset-password' === $dashbread_screen && ! is_wp_error( check_password_reset_key( $dashbread_key, $dashbread_rp_login ) ); ?> data-sui-preset="" data-sui-mode="" data-sui-mode-setting="">