Last active
November 13, 2017 10:19
-
-
Save cedriccharles4/458da1470bc9e6688ce3c99279f378c7 to your computer and use it in GitHub Desktop.
Removing Ninja Forms Metabox from post/page edition page
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
<?php | |
//Remove Ninja Forms Metabox | |
add_action( 'do_meta_boxes', 'noo_remove_metaBox_nf'); | |
function noo_remove_metaBox_nf() { | |
remove_meta_box('ninja_forms_selector', 'post', 'side'); | |
remove_meta_box('ninja_forms_selector', 'page', 'side'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment