Skip to content

Instantly share code, notes, and snippets.

@ramseyp
Created October 10, 2013 15:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ramseyp/6920038 to your computer and use it in GitHub Desktop.
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
<?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