Last active
October 1, 2016 05:32
-
-
Save fearlex/6530be7407f7b6d532d82a151a0b10b1 to your computer and use it in GitHub Desktop.
Remove Slider Revolution metaboxes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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