PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.4.9
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.4.9
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 / includes / shortcodes / charitable-shortcodes-hooks.php

charitable-shortcodes-hooks.php in Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) 1.4.9, at includes/shortcodes/charitable-shortcodes-hooks.php

38 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Charitable Shortcodes Hooks.
4 *
5 * Action/filter hooks used for Charitable shortcodes
6 *
7 * @package Charitable/Functions/Shortcodes
8 * @version 1.2.0
9 * @author Eric Daams
10 * @copyright Copyright (c) 2015, Studio 164a
11 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
12 */
13
14 if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly
15
16 /**
17 * Register shortcodes.
18 *
19 * @see Charitable_Campaigns_Shortcode::display()
20 * @see Charitable_My_Donations_Shortcode::display()
21 * @see Charitable_Donation_Receipt_Shortcode::display()
22 * @see Charitable_Login_Shortcode::display()
23 * @see Charitable_Registration_Shortcode::display()
24 * @see Charitable_Profile_Shortcode::display()
25 */
26 add_shortcode( 'campaigns', array( 'Charitable_Campaigns_Shortcode', 'display' ) );
27 add_shortcode( 'donation_receipt', array( 'Charitable_Donation_Receipt_Shortcode', 'display' ) );
28 add_shortcode( 'charitable_my_donations', array( 'Charitable_My_Donations_Shortcode', 'display' ) );
29 add_shortcode( 'charitable_login', array( 'Charitable_Login_Shortcode', 'display' ) );
30 add_shortcode( 'charitable_registration', array( 'Charitable_Registration_Shortcode', 'display' ) );
31 add_shortcode( 'charitable_profile', array( 'Charitable_Profile_Shortcode', 'display' ) );
32
33 /**
34 * Fingerprint the login form with our charitable=true hidden field
35 *
36 * @see Charitable_Login_Shortcode::add_hidden_field_to_login_form()
37 */
38 add_filter( 'login_form_bottom', array( 'Charitable_Login_Shortcode', 'add_hidden_field_to_login_form' ), 10, 2 );