PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.7.0.5
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.7.0.5
1.8.13.1 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 All 212 releases
charitable / templates / shortcodes / forgot-password.php

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

76 lines 1.9 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 */
10
11 // Exit if accessed directly.
12 if ( ! defined( 'ABSPATH' ) ) {
13 exit;
14 }
15
16 $form = $view_args['form'];
17
18 ?>
19 <div class="charitable-forgot-password-form">
20 <?php
21 /**
22 * Do something before the forgot password form.
23 *
24 * @since 1.4.0
25 *
26 * @param array $view_args Shortcode attributes.
27 */
28 do_action( 'charitable_forgot_password_before', $view_args );
29
30 ?>
31 <form id="lostpasswordform" class="charitable-form" action="<?php echo wp_lostpassword_url(); ?>" method="post">
32 <?php
33 /**
34 * Do something before rendering the form fields.
35 *
36 * @since 1.4.0
37 *
38 * @param Charitable_Form $form The form object.
39 * @param array $view_args All args passed to template.
40 */
41 do_action( 'charitable_form_before_fields', $form, $view_args );
42
43 ?>
44 <div class="charitable-form-fields cf">
45 <?php $form->view()->render(); ?>
46 </div><!-- .charitable-form-fields -->
47 <?php
48 /**
49 * Do something after rendering the form fields.
50 *
51 * @since 1.4.0
52 *
53 * @param Charitable_Form $form The form object.
54 * @param array $view_args All args passed to template.
55 */
56 do_action( 'charitable_form_after_fields', $form, $view_args );
57
58 ?>
59 <div class="charitable-form-field charitable-submit-field">
60 <input type="submit" name="submit" class="<?php echo esc_attr( charitable_get_button_class( 'lostpassword' ) ); ?>" value="<?php esc_attr_e( 'Reset Password', 'charitable' ); ?>" />
61 </div>
62
63 </form><!-- #lostpasswordform -->
64 <?php
65 /**
66 * Do something after the forgot password form.
67 *
68 * @since 1.4.0
69 *
70 * @param array $view_args Shortcode attributes.
71 */
72 do_action( 'charitable_forgot_password_after', $view_args );
73
74 ?>
75 </div>
76