Created
November 8, 2015 07:02
-
-
Save cliffordp/6ed4de93895fe2acd959 to your computer and use it in GitHub Desktop.
Demo for http://theeventscalendar.com/support/forums/topic/add-text-to-community-event-submission-form/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// https://gist.github.com/cliffordp/6ed4de93895fe2acd959 | |
// demo for http://theeventscalendar.com/support/forums/topic/add-text-to-community-event-submission-form/ | |
add_action( 'tribe_events_community_before_the_event_title', 'forum_1022861_add_review_notice_to_comm_ev_form' ); | |
function forum_1022861_add_review_notice_to_comm_ev_form() { | |
$output = '<div style="margin-bottom: 12.75px;" class="tribe-events-community-details eventForm bubble"> | |
<div class="tribe_sectionheader"> | |
<h4>Notice:</h4> | |
</div> | |
<p>The form will be sent in as draft and has to be approved before it is visible in the events calendar.</p> | |
<p>We usually review submissions within 4 business hours.</p> | |
</div>'; | |
echo $output; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment