WooCommerce: Products > Categories/Tags/Brands > Description.

  1. By default visual editor is enabled. How do you disable that to be only a basic text area only?

Most threads here seem to be on 'adding' the editor so assuming at some point WP or WooCommerce added the editor by default.

1 Answer 1


Hope, The following code solve your problem. Add this in functions.php

$tags = $_GET['taxonomy'];
$taxonomy_name = array('product_tag','product_cat');
if (in_array($tags, $taxonomy_name)) {
  add_action("{$tags}_edit_form_fields", 'form_fields', 10, 2);
function form_fields($term, $taxonomy){
    <tr valign="top">
        <th scope="row">Description</th>
            <?php wp_editor(html_entity_decode($term->description), 'description', array('media_buttons' => false,'quicktags' => false)); ?>
              .js .tmce-active .wp-editor-area{
                color:black !important;
  • Thanks so much very helpful! So when editing an actual say category description its working as expected, except the text is white. For some reason it's calling this core css line: .js .tmce-active .wp-editor-area{color:#fff}; More importantly, on the main category/tag listing page a visual editor appears randomly at the top of the page above the title, "Product Categories" and sort of breaks the backend. Apr 17, 2017 at 20:21
  • Ok i am updating my code. Apr 18, 2017 at 4:38
  • @cchiera answer is updated. Hope this solution perfectly work for you. Let me know if you face any trouble. Thanks Apr 18, 2017 at 6:41
  • @faysal-mahmud That worked! Thanks so much. Apr 18, 2017 at 11:30

Not the answer you're looking for? Browse other questions tagged or ask your own question.