Last active
March 8, 2017 03:25
-
-
Save AlexWebLab/a93bde1a2d3a942faacf7200cd5b2205 to your computer and use it in GitHub Desktop.
Remove Multilingual Content Setup metabox on every post type edit page in WordPress admin
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('admin_head', 'disable_icl_metabox'); | |
function disable_icl_metabox() { | |
$screen = get_current_screen(); | |
remove_meta_box('icl_div_config',$screen->post_type,'normal'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment