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-title.php

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

29 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Renders the campaign title 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
15 /**
16 * Filter the title field placeholder text.
17 *
18 * @since 3.1.0
19 *
20 * @param string $text Placeholder text. Default 'Enter title here'.
21 * @param WP_Post $post Post object.
22 */
23 $title_placeholder = apply_filters( 'enter_title_here', __( 'Enter campaign title here', 'charitable' ), $post );
24 ?>
25 <div id="charitable-campaign-title-metabox-wrap" class="charitable-metabox-wrap">
26 <label class="screen-reader-text" for="title"><?php echo $title_placeholder; ?></label>
27 <input type="text" name="post_title" size="30" value="<?php echo esc_attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" spellcheck="true" autocomplete="off" placeholder="<?php echo $title_placeholder ?>" tabindex="1" />
28 </div>
29