This is my custom meta box, here text area showing html tags.i used tinymc textaea editor. and i try to use wp_editor also. but data not saving.if it saved, i don't know how to call it.
please help me find solution
add_action("admin_init", "admin_init");
add_action('save_post', 'save_points');
function admin_init(){
add_meta_box("productInfo-meta", "Product Details", "product_meta_options", "product", "normal", "low");}
function product_meta_options(){
global $post;
$custom = get_post_custom($post->ID);
$category = $custom["category"][0];
$brand = $custom["brand"][0];
$features = $custom["features"][0];
$holds = $custom["holds"][0];
?>
<table>
<tr>
<td>Category</td>
<td> <input type="text" size="100" name="category" value="<?php echo $category; ?>" /> </td>
</tr>
<tr>
<td>Brand</td>
<td> <input type="text" size="100" name="brand" value="<?php echo $brand; ?>" /> </td>
</tr>
<tr>
<td>Features</td>
<td><textarea rows="20" cols="100" name="features"><?php echo $features; ?></textarea></td>
</tr>
<tr>
<td></td>
<td>
<?php wp_editor( $content, 'test_content', $settings = array('textarea_name'=>'test_content','textarea_rows'=>20) );?>
</td>
</tr>
<tr>
<td>Holds</td>
<td><textarea rows="20" cols="100" name="holds"><?php echo $holds; ?></textarea></td>
</tr>
</table>
<?php
}
function save_points(){
global $post;
update_post_meta($post->ID, "category", $_POST["category"]);
update_post_meta($post->ID, "brand", $_POST["brand"]);
update_post_meta($post->ID, "features", $_POST["features"]);
update_post_meta($post->ID, "holds", $_POST["holds"]);
}?>
-Thank You-