ACF

Adjust Rank Math metabox position below ACF

This feature is included in ACF Extended plugin

If you’re using the rising star SEO plugin Rank Math, you may have noticed its post metabox always being above ACF metaboxes. As an administrator, this behavior is not convenient.

By default Rank Math register its post metabox priority to high, except when the post type is product (Woocommerce). Let’s tune it down to default so ACF metaboxes are always displayed above it:

add_filter('rank_math/metabox/priority', 'rank_math_metabox_acf');
function rank_math_metabox_acf(){
    
    // Always 'default'
    return 'default';
    
}

This hook is not yet documented by Rank math, but you can still find some good one on their official website.