Created
October 10, 2013 15:11
-
-
Save ramseyp/6920038 to your computer and use it in GitHub Desktop.
Filter Yoast Meta Box Priority - returning low moves it below standard meta boxes
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 | |
// Filter Yoast Meta Priority | |
function move_yoast_seo_box() { | |
if ( defined( 'WPSEO_VERSION' ) ) : | |
add_filter( 'wpseo_metabox_prio', function() { return 'low'; } ); | |
endif; | |
} | |
add_action('admin_init', 'move_yoast_seo_box'); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment