Last active
August 27, 2021 16:26
-
-
Save ashsaraga/b37cc344150c8ad26bdf51b3c80c3a7f to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
add_action('edit_form_after_title', function() { | |
global $post, $wp_meta_boxes; | |
do_meta_boxes(get_current_screen(), 'advanced', $post); | |
unset($wp_meta_boxes[get_post_type($post)]['advanced']); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment