Created
September 3, 2014 17:29
-
-
Save fovoc/b3e4dbf0a980dd11e9a0 to your computer and use it in GitHub Desktop.
Custom JS snippet for WordPress admin panel
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 | |
function my_custom_admin_js() { | |
echo '<script type="text/javascript"> | |
var jq = jQuery.noConflict(); | |
jq("document").ready(function() { | |
jq("#0_section_group_li, #0_section_group").hide(); | |
}); | |
</script>'; | |
} | |
add_action( 'admin_head', 'my_custom_admin_js' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment