Hi Martin,
It's really hard to change the priority of meta boxes with PHP code when editing the term. You can try to use the CSS code to re-order them. For example:
.wp-admin.taxonomy-product_cat form#edittag {
display: flex;
flex-wrap: wrap;
}
.wp-admin.taxonomy-product_cat .rank-math-metabox-wrap {
order: 10;
}
.wp-admin.taxonomy-product_cat .edit-tag-actions {
order: 15;
}
.wp-admin.taxonomy-product_cat .rwmb-meta-box {
width: 100%;
}
Screenshot https://share.getcloudapp.com/04ux46r5
FYI, context
setting only works with the post meta box, it does not work with the term meta box.