Last active
November 2, 2017 15:10
-
-
Save dingo-d/7083711ddeb0bcd99204d550fec755a3 to your computer and use it in GitHub Desktop.
ACF before editor fix
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 | |
add_action( 'admin_init', 'prefix_reset_metabox_positions' ); | |
function prefix_reset_metabox_positions(){ | |
delete_user_meta( 1, 'meta-box-order_post' ); | |
delete_user_meta( 1, 'meta-box-order_page' ); | |
delete_user_meta( 1, 'meta-box-order_custom_post_type' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment