Support » Plugin: Meta Box - WordPress Custom Fields Framework » doesn’t save taxonomy value

  • Resolved gopros


    Default code from online generator:

    function your_prefix_get_meta_box( $meta_boxes ) {
    	$prefix = 'prefix-';
    	$meta_boxes[] = array(
    		'id' => 'untitled',
    		'title' => esc_html__( 'Untitled Metabox', 'metabox-online-generator' ),
    		'post_types' => array('post', 'page' ),
    		'context' => 'advanced',
    		'priority' => 'default',
    		'autosave' => 'false',
    		'fields' => array(
    				'id' => $prefix . 'taxonomy_1',
    				'type' => 'taxonomy',
    				'name' => esc_html__( 'Taxonomy', 'metabox-online-generator' ),
    				'taxonomy' => 'category',
    				'field_type' => 'select',
    	return $meta_boxes;
    add_filter( 'rwmb_meta_boxes', 'your_prefix_get_meta_box' );

    When I select term in Untitled Metabox (look at the screenshot and push Update there are no term checked in Untitled Metabox, but in Categories (side) is OK.

    What is the problem?

Viewing 1 replies (of 1 total)
  • Plugin Author Anh Tran


    Thanks a lot for your bug report. I’ll check and fix it now.

    PS: I’ve just fixed it on Github. I’ll release new version soon.

    • This reply was modified 1 year, 11 months ago by Anh Tran.
Viewing 1 replies (of 1 total)
  • The topic ‘doesn’t save taxonomy value’ is closed to new replies.