• Hello, in the event input form, there is a metabox called “Event Meta (debugging only)”. Tried to remove it with code but no success:

    function my_remove_metaboxes() {
          remove_meta_box ( 'em-event-meta', 'event', 'normal');
    }
    add_action( 'admin_menu' , 'my_remove_metaboxes', 999);
    

    Please can you help? many thanks..

Viewing 3 replies - 1 through 3 (of 3 total)
  • That should be commented out in the core php file. It is by default, so most likely you have uncommented it at some point ??

    Comment out line 275 in events-manager/classes/em-event-admin.php

    Or… Reinstall the plugin to undo any manual changes ??

    Plugin Support angelo_nwl

    (@angelo_nwl)

    You can set your wp_debug to false in your wp-config.php file

    Hi Angelo, nope!
    He is talking about a hard coded output. Marcus put that in the file for development.

    This is the line:

    //add_meta_box('em-event-meta', 'Event Meta (debugging only)', array('EM_Event_Post_Admin','meta_box_metadump'),'event-recurring', 'normal','high');
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove em-event-meta’ is closed to new replies.