Skip to content

Commit

Permalink
#1692 Hook added for customization
Browse files Browse the repository at this point in the history
  • Loading branch information
RHSRSK committed Oct 2, 2024
1 parent d0f5054 commit 8d6d592
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 3 additions & 2 deletions templates/event-submit.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
* Event Submission Form
*/
if(!defined('ABSPATH')) exit;

global $event_manager; ?>
global $event_manager;
do_action('wp_event_manager_event_submit_before');
?>

<form action="<?php echo esc_url($action); ?>" method="post" id="submit-event-form" class="wpem-form-wrapper wpem-main event-manager-form" enctype="multipart/form-data">
<?php if(apply_filters('submit_event_form_show_signin', true)) :
Expand Down
4 changes: 3 additions & 1 deletion templates/organizer/organizer-submit.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
*/
if (!defined('ABSPATH'))
exit;
global $event_manager; ?>
global $event_manager;
do_action('wp_event_manager_organizer_submit_before');
?>

<form action="<?php echo esc_url($action); ?>" method="post" id="submit-organizer-form" class="wpem-form-wrapper wpem-main event-manager-form" enctype="multipart/form-data">
<?php if (is_user_logged_in()) {
Expand Down
4 changes: 3 additions & 1 deletion templates/venue/venue-submit.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
* Event Submission Form
*/
if (!defined('ABSPATH')) exit;
global $event_manager; ?>
global $event_manager;
do_action('wp_event_manager_venue_submit_before');
?>

<form action="<?php echo esc_url($action); ?>" method="post" id="submit-venue-form" class="wpem-form-wrapper wpem-main event-manager-form" enctype="multipart/form-data">
<?php if (is_user_logged_in()) { ?>
Expand Down

0 comments on commit 8d6d592

Please sign in to comment.