SHARE
TWEET

Modify Multiple Bookings mode success message

eventsmanager Nov 27th, 2015 179 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.  * This snippet will modify Multiple Bookings mode success message
  3.  */
  4. function my_em_booking_success( $return, $EM_Multiple_Booking ){
  5.  
  6.  if ($return['result']) {
  7.   $return['message'] = $return['message'].'<br><br>'.'Welcome to <a href="http://wp-events-plugin.com/">Events Manager</a>';
  8.  }
  9.  
  10.  return $return;
  11. }
  12. add_filter('em_action_emp_checkout','my_em_booking_success',10,2);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top