Wysiwyg fileds can't save
-
Hello,
Everything works fine except the wysiwyg fields do not save the data.
here is my code :
$cmb = new_cmb2_box( array( 'id' => $prefix . 'public', 'title' => __( 'Public', 'cmb2' ), 'object_types' => array( 'evenement'), // Post type 'context' => 'normal', 'priority' => 'high', 'show_names' => true, // Show field names on the left 'cmb_styles' => true, // false to disable the CMB stylesheet ) ); $cmb->add_field( array( 'id' => $prefix . 'content', 'type' => 'wysiwyg', 'options' => array( 'textarea_rows' => 8, ), ) );
any idea of what is wrong ?
thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Wysiwyg fileds can't save’ is closed to new replies.