RankMath metabox below ACF Pro

A quick code snippet to move RankMath SEO plugin below the ACF pro metaboxes.

SEO Wordpress Plugins like RankMath & Yoast tend to have there interface below the first metabox, when working with complicated Advanced Custom Field meta boxes- often they get in the way; The following snippet will allow you to change the priority/order by moving rankmath to bottom of page

In functions.php in the Wordpress theme directory

add_filter( 'rank_math/metabox/priority', function( $priority ) {
 return 'low';

About Fraser Clark

I've been a professional developer for over 10 years. I've been consulting and developing websites & software for small businesses, multi-nationals & governments.

I'm an expert in WordPress, Drupal, Laravel & a whole host of other platforms.

More about Fraser | Get in touch