PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.6.22
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.6.22
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 / admin / views / metaboxes / campaign-description.php

campaign-description.php in Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) 1.6.22, at includes/admin/views/metaboxes/campaign-description.php

21 lines 907 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Renders the campaign description field for the Campaign post type.
4 *
5 * @author Studio 164a
6 * @since 1.0.0
7 * @package Charitable/Admin Views/Metaboxes
8 */
9
10 global $post;
11
12 $title = isset( $view_args['title'] ) ? $view_args['title'] : '';
13 $tooltip = isset( $view_args['tooltip'] ) ? '<span class="tooltip"> '. $view_args['tooltip'] . '</span>' : '';
14 $campaign_description = esc_textarea( get_post_meta( $post->ID, '_campaign_description', true ) );
15
16 ?>
17 <div id="charitable-campaign-description-metabox-wrap" class="charitable-metabox-wrap">
18 <label class="screen-reader-text" for="campaign_description"><?php echo $campaign_description ?></label>
19 <textarea name="_campaign_description" id="campaign_description" tabindex="" rows="10" placeholder="<?php _e( 'Enter a short description of your campaign', 'charitable' ); ?>"><?php echo $campaign_description ?></textarea>
20 </div>
21