Ledger Nano X - The secure hardware wallet

Hide coupon selection on event submission form to guest

eventsmanager Jun 26th, 2015 345 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
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