PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.8.13
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.8.13
1.8.13 1.8.12.3 1.8.12.2 1.8.12.1 1.8.12 1.8.11.3 1.8.11.2 1.8.11.1 1.8.11 1.6.6 1.6.60 1.6.7 1.6.8 1.6.9 1.7.0 1.7.0.1 1.7.0.11 1.7.0.12 1.7.0.14 1.7.0.2 1.7.0.3 1.7.0.5 1.7.0.6 1.7.0.7 1.7.0.9 All 211 releases
charitable / templates / shortcodes / forgot-password.php

forgot-password.php in Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) 1.8.13, at templates/shortcodes/forgot-password.php

77 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * The template used to display the forgot password form. Provided here primarily as a way to make it easier to override using theme templates.
4 *
5 * @author Rafe Colton
6 * @package Charitable/Templates/Account
7 * @since 1.4.0
8 * @version 1.6.29
9 * @version 1.8.8.6
10 */
11
12 // Exit if accessed directly.
13 if ( ! defined( 'ABSPATH' ) ) {
14 exit;
15 }
16
17 $charitable_form = $view_args['form'];
18
19 ?>
20 <div class="charitable-forgot-password-form">
21 <?php
22 /**
23 * Do something before the forgot password form.
24 *
25 * @since 1.4.0
26 *
27 * @param array $view_args Shortcode attributes.
28 */
29 do_action( 'charitable_forgot_password_before', $view_args );
30
31 ?>
32 <form id="lostpasswordform" class="charitable-form" action="<?php echo esc_url( wp_lostpassword_url() ); ?>" method="post">
33 <?php
34 /**
35 * Do something before rendering the form fields.
36 *
37 * @since 1.4.0
38 *
39 * @param Charitable_Form $form The form object.
40 * @param array $view_args All args passed to template.
41 */
42 do_action( 'charitable_form_before_fields', $charitable_form, $view_args );
43
44 ?>
45 <div class="charitable-form-fields cf">
46 <?php $charitable_form->view()->render(); ?>
47 </div><!-- .charitable-form-fields -->
48 <?php
49 /**
50 * Do something after rendering the form fields.
51 *
52 * @since 1.4.0
53 *
54 * @param Charitable_Form $form The form object.
55 * @param array $view_args All args passed to template.
56 */
57 do_action( 'charitable_form_after_fields', $charitable_form, $view_args );
58
59 ?>
60 <div class="charitable-form-field charitable-submit-field">
61 <input type="submit" name="submit" class="<?php echo esc_attr( charitable_get_button_class( 'lostpassword' ) ); ?>" value="<?php esc_attr_e( 'Reset Password', 'charitable' ); ?>" />
62 </div>
63
64 </form><!-- #lostpasswordform -->
65 <?php
66 /**
67 * Do something after the forgot password form.
68 *
69 * @since 1.4.0
70 *
71 * @param array $view_args Shortcode attributes.
72 */
73 do_action( 'charitable_forgot_password_after', $view_args );
74
75 ?>
76 </div>
77