Last active
April 10, 2017 14:03
-
-
Save timersys/27710283366c3d07a6eb05d8fcbdcbea to your computer and use it in GitHub Desktop.
Remove Popups plugin side 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
<?php // don't include this line if php already started | |
function remove_spu_boxes() { | |
remove_meta_box( 'spu-support', 'spucpt', 'side' ); | |
remove_meta_box( 'spu-donate', 'spucpt', 'side' ); | |
remove_meta_box( 'spu-links', 'spucpt', 'side' ); | |
} | |
add_action( 'add_meta_boxes', 'remove_spu_boxes',15 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment