Im using Reusable Custom WordPress Meta Boxes - in order to add custom meta boxes to my theme.

One of the requirements is that i have WYSIWYG Editor in metabox.

part of the code to get that thing is:

        'label' => __('Availability content', 'bookyourtravel'),
        'desc'  => __('Some desc'),
        'id'    => 'availability_text',
        'type'  => 'editor'

Now when I save post, information in metabox is saved but its not formatted and images that were in editor are lost.

Why that could happen and how to solve it?

Read more here: WordPress - Reusable Custom WordPress Meta Boxes


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , ,

Wordpress related questions and answers: