PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.7.0.7
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.7.0.7
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 / campaign / summary.php

summary.php in Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) 1.7.0.7, at templates/campaign/summary.php

55 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Displays the campaign summary.
4 *
5 * Override this template by copying it to yourtheme/charitable/campaign/summary.php
6 *
7 * @author WP Charitable LLC
8 * @package Charitable/Templates/Campaign Page
9 * @since 1.0.0
10 * @version 1.0.0
11 */
12
13 $campaign = $view_args['campaign'];
14
15 /**
16 * Do something before the campaign summary is rendered.
17 *
18 * @since 1.0.0
19 *
20 * @param Charitable_Campaign $campaign The Campaign instance.
21 */
22 do_action( 'charitable_campaign_summary_before', $campaign );
23
24 ?>
25 <div class="campaign-summary">
26 <?php
27 /**
28 * Do something while the campaign summary is rendered.
29 *
30 * By default, the following callbacks are run on the
31 * `charitable_campaign_summary` hook:
32 *
33 * - charitable_template_campaign_percentage_raised (priority: 4)
34 * - charitable_template_campaign_donation_summary (priority: 6)
35 * - charitable_template_campaign_donor_count (priority: 8)
36 * - charitable_template_campaign_time_left (priority: 10)
37 * - charitable_template_donate_button (priority: 12)
38 *
39 * @since 1.0.0
40 *
41 * @param Charitable_Campaign $campaign The Campaign instance.
42 */
43 do_action( 'charitable_campaign_summary', $campaign );
44 ?>
45 </div>
46 <?php
47 /**
48 * Do something after the campaign summary is rendered.
49 *
50 * @since 1.0.0
51 *
52 * @param Charitable_Campaign $campaign The Campaign instance.
53 */
54 do_action( 'charitable_campaign_summary_after', $campaign );
55