Custom Meta Box (SELECT2) Not Saving Taxonomy Terms

I have the code, /* * Add a metabox * I hope you’re familiar with add_meta_box() function, so, nothing new for you here */ add_action( ‘admin_menu’, ‘rudr_metabox_for_select2_cat’ ); function rudr_metabox_for_select2_cat() { add_meta_box( ‘rudr_select2’, ‘Tune Category’, ‘rudr_display_select2_cat_metabox’, ‘post’, ‘side’, ‘high’ ); } /* * Display the fields inside it */ function rudr_display_select2_cat_metabox( $post_object ) { //…

Custom Meta Box (SELECT2) Not Saving Taxonomy Terms

I have the code, /* * Add a metabox * I hope you’re familiar with add_meta_box() function, so, nothing new for you here */ add_action( ‘admin_menu’, ‘rudr_metabox_for_select2_cat’ ); function rudr_metabox_for_select2_cat() { add_meta_box( ‘rudr_select2’, ‘Tune Category’, ‘rudr_display_select2_cat_metabox’, ‘post’, ‘side’, ‘high’ ); } /* * Display the fields inside it */ function rudr_display_select2_cat_metabox( $post_object ) { //…