PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.6.8
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.6.8
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 1.8.0 All 210 releases
charitable / templates / shortcodes / registration.php

registration.php in Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) 1.6.8, at templates/shortcodes/registration.php

67 lines 1.8 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 registration form.
4 *
5 * @author Studio 164a
6 * @package Charitable/Templates/Account
7 * @since 1.0.0
8 * @version 1.5.7
9 */
10
11 // Exit if accessed directly.
12 if ( ! defined( 'ABSPATH' ) ) { exit; }
13
14 $form = $view_args['form'];
15
16 /**
17 * Do something before rendering the user registration form.
18 *
19 * @param Charitable_Form $form The form object.
20 * @param array $view_args All args passed to template.
21 */
22 do_action( 'charitable_user_registration_before', $form, $view_args );
23
24 ?>
25 <form method="post" id="charitable-registration-form" class="charitable-form">
26 <?php
27 /**
28 * Do something before rendering the form fields.
29 *
30 * @since 1.0.0
31 *
32 * @param Charitable_Form $form The form object.
33 * @param array $view_args All args passed to template.
34 */
35 do_action( 'charitable_form_before_fields', $form, $view_args );
36
37 ?>
38 <div class="charitable-form-fields cf">
39 <?php $form->view()->render() ?>
40 </div><!-- .charitable-form-fields -->
41 <?php
42
43 /**
44 * Do something after rendering the form fields.
45 *
46 * @since 1.0.0
47 *
48 * @param Charitable_Form $form The form object.
49 * @param array $view_args All args passed to template.
50 */
51 do_action( 'charitable_form_after_fields', $form, $view_args );
52
53 ?>
54 <div class="charitable-form-field charitable-submit-field">
55 <button class="button button-primary" type="submit" name="register"><?php esc_attr_e( 'Register', 'charitable' ) ?></button>
56 </div>
57 </form><!-- #charitable-registration-form -->
58 <?php
59
60 /**
61 * Do something after rendering the user registration form.
62 *
63 * @param Charitable_Form $form The form object.
64 * @param array $view_args All args passed to template.
65 */
66 do_action( 'charitable_user_registration_after', $form, $view_args );
67