05/29/2018 at 2:34 pm
#463932
Participant
There are several, but I’m guessing the one that caused the problem may have been the one that removes some metaboxes:
add_action( 'admin_init', 'cn_remove_metaboxes' );
function cn_remove_metaboxes() {
cnMetaboxAPI::remove( 'metabox-logo' );
cnMetaboxAPI::remove( 'metabox-messenger' );
cnMetaboxAPI::remove( 'metabox-social-media' );
cnMetaboxAPI::remove( 'metabox-links' );
cnMetaboxAPI::remove( 'metabox-date' );
}
I’m not a coder, but it seems like there should be a test to see if something is there before it attempts removing it?
I’ve also attached a file with all the snippets I’m using.
