Custom Fields
Re-Envisioned
Support General wysiwyg field is breaking in woocommerce

  • Creator
    Topic
  • #31097
    Resolved calpaq
    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

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #31098
    calpaq
    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 1 replies (of 1 total)
  • You must be logged in to reply to this topic.