• Resolved B1gJ4k3

    (@b1gj4k3)


    That’s pretty much it… I’m trying to remove the Event Options meta box when I’m editing an individual event. I’ve tried

    function remove_meta_boxes_custom(){
            remove_meta_box( 'tribe_events_event_options','tribe_events','side' );
    }
    add_action( 'admin_menu', 'remove_meta_boxes_custom' );

    but that doesn’t seem to do anything. Has anyone done this before?

    https://wordpress.org/plugins/the-events-calendar/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter B1gJ4k3

    (@b1gj4k3)

    Figured it out. I was using the wrong action.

    Should be do_meta_boxes instead of admin_menu.

    function custom_remove_meta_boxes() {
        remove_meta_box( 'tribe_events_event_options','tribe_events','side' );
    }
    add_action('do_meta_boxes', 'custom_remove_meta_boxes');
    Brook

    (@brook-tribe)

    Nice! Thanks for sharing code and solution.

    – Brook

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Removing Event Options meta box from event admin screen’ is closed to new replies.