Code function
Bạn chỉ cần copy – paste đoạn code này vào file functions.php là được nhé
add_action( 'add_meta_boxes', 'action_add_meta_boxes', 0 );
function action_add_meta_boxes() {
global $_wp_post_type_features;
if (isset($_wp_post_type_features['product']['editor']) && $_wp_post_type_features['product']['editor']) {
unset($_wp_post_type_features['product']['editor']);
add_meta_box(
'description_section',
__('Description'),
'inner_custom_box',
'product', 'normal', 'low'
);
}
add_action( 'admin_head', 'action_admin_head'); //white background
}
function action_admin_head() {
?>
<style type="text/css">
.wp-editor-container{background-color:#fff;}
</style>
<?php
}
function inner_custom_box( $post ) {
echo '<div class="wp-editor-wrap">';
wp_editor($post->post_content, 'content', array('tabindex' => 100) );
echo '</div>';
}
Sau khi lưu lại và vào một trang sản phẩm bất kỳ thì bạn sẽ thấy kết quả.

Chỉ đơn giản thế thôi. Chúc bạn thành công !
