Skip to content

Instantly share code, notes, and snippets.

@timersys
Last active April 10, 2017 14:03
Show Gist options
  • Save timersys/27710283366c3d07a6eb05d8fcbdcbea to your computer and use it in GitHub Desktop.
Save timersys/27710283366c3d07a6eb05d8fcbdcbea to your computer and use it in GitHub Desktop.
Remove Popups plugin side metaboxes
<?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