Skip to content

Commit

Permalink
Revert "apply_filters for product editor args"
Browse files Browse the repository at this point in the history
This reverts commit 495b6ca.
  • Loading branch information
sagescrub committed Jan 18, 2019
1 parent 495b6ca commit 6ad5ffa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/products/new-product-single.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,12 +391,12 @@

<div class="dokan-product-short-description">
<label for="post_excerpt" class="form-label"><?php esc_html_e( 'Short Description', 'dokan-lite' ); ?></label>
<?php wp_editor( $post_excerpt , 'post_excerpt', apply_filters( 'dokan_product_editor_args_post_excerpt', array('editor_height' => 50, 'quicktags' => false, 'media_buttons' => false, 'teeny' => true, 'editor_class' => 'post_excerpt') ) ); ?>
<?php wp_editor( $post_excerpt , 'post_excerpt', array('editor_height' => 50, 'quicktags' => false, 'media_buttons' => false, 'teeny' => true, 'editor_class' => 'post_excerpt') ); ?>
</div>

<div class="dokan-product-description">
<label for="post_content" class="form-label"><?php esc_html_e( 'Description', 'dokan-lite' ); ?></label>
<?php wp_editor( $post_content , 'post_content', apply_filters( 'dokan_product_editor_args_post_content', array('editor_height' => 50, 'quicktags' => false, 'media_buttons' => false, 'teeny' => true, 'editor_class' => 'post_content') ) ); ?>
<?php wp_editor( $post_content , 'post_content', array('editor_height' => 50, 'quicktags' => false, 'media_buttons' => false, 'teeny' => true, 'editor_class' => 'post_content') ); ?>
</div>

<?php do_action( 'dokan_new_product_form', $post, $post_id ); ?>
Expand Down

0 comments on commit 6ad5ffa

Please sign in to comment.