• Creator
  • #17783
    Resolved jamesfosker

    Hi is there a way to set a priority of which meta box to load first, second and third ect.

Viewing 1 replies (of 1 total)
  • Author
  • #17801
    Anh Tran

    Hi, we have the context parameter for meta boxes, which you can use to load meta boxes with priority. For meta boxes with the same context, you can try setting keys for meta boxes array, like this:

    add_filter( 'rwmb_meta_boxes', function( $meta_boxes ) {
        $meta_boxes['1_general'] = ...;
        $meta_boxes['2_social'] = ...;
        return $meta_boxes;
    } );
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.