eventsmanager

Hide coupon selection on event submission form to guest

Jun 26th, 2015
441
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function hide_coupon(){
  2. if ( !is_user_logged_in() ) remove_action('em_events_admin_bookings_footer',array('EM_Coupons', 'admin_meta_box'),20,1);
  3. }
  4. add_action( 'init', 'hide_coupon' );
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×