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 / campaign / summary.php

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

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