Skip to content

Instantly share code, notes, and snippets.

@fearlex
Last active October 1, 2016 05:32
Show Gist options
  • Save fearlex/6530be7407f7b6d532d82a151a0b10b1 to your computer and use it in GitHub Desktop.
Save fearlex/6530be7407f7b6d532d82a151a0b10b1 to your computer and use it in GitHub Desktop.
Remove Slider Revolution metaboxes
function SLUG_remove_revolution_slider_meta_boxes() {
remove_meta_box( 'mymetabox_revslider_0', 'page', 'normal' );
remove_meta_box( 'mymetabox_revslider_0', 'post', 'normal' );
remove_meta_box( 'mymetabox_revslider_0', 'post_type', 'normal' );
remove_meta_box( 'mymetabox_revslider_0', 'post_type', 'normal' );
}
add_action( 'do_meta_boxes', 'SLUG_remove_revolution_slider_meta_boxes' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment