wysiwyg field is breaking in woocommerce

Support General wysiwyg field is breaking in woocommerceResolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31097
    calpaqcalpaq
    Participant

    Hi Support,
    Can you please give me a favor, I am not able to get the wysiwyg field in the admin section and I have added the field to post type product in woocommerce, can you please tell me why this is happening my code for it is

    
    add_filter('rwmb_meta_boxes', 'mica_pdf_print_products_meta_boxes');
    function mica_pdf_print_products_meta_boxes($meta_boxes){
        $meta_boxes[] = array(
                            'title' => 'PDF Description',
                            'post_types' => array('product'),
                            'fields' => array(
                                            array(
                                                'id' => 'pdf-description',
                                                'type'  => 'wysiwyg',
                                                'options' => array(
                                                        'textarea_rows' => 4,
                                                        'teeny'         => true,
                                                    ),
                                                ),
                                ),
                        ); 
        return $meta_boxes;
    }

    Regards,
    Calpaq

    #31098
    calpaqcalpaq
    Participant

    Hi support please ignore this question or you can delete it as I do not have facility to do so, I found a way, thanks

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.