eventsmanager

Modify Multiple Bookings mode success message

Nov 27th, 2015
203
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