ID, 'abcbiz_multi_excerpt_content', true); ?> ' . esc_html__('Note:', 'abcbiz-addons') . ' ' . esc_html__('This area is specifically for ABCBiz Addons and Templates for Elementor by ABCPlugin Products description tab contents.', 'abcbiz-addons') . '

'; $content = get_post_meta($post->ID, '_abcbiz_wc_product_description', true); wp_editor( htmlspecialchars_decode($content), 'abcbiz_wc_product_description_editor', array( 'textarea_name' => 'abcbiz_wc_product_description', 'editor_height' => 200, 'media_buttons' => true ) ); } function abcbiz_save_wc_desc_postdata($post_id) { // Check if our nonce is set and verify it. if (!isset($_POST['abcbiz_wc_product_description_nonce']) || !wp_verify_nonce(sanitize_text_field( wp_unslash ($_POST['abcbiz_wc_product_description_nonce'])), 'abcbiz_wc_product_description_nonce_action')) { return $post_id; } // Proceed to save the data if (array_key_exists('abcbiz_wc_product_description', $_POST)) { update_post_meta( $post_id, '_abcbiz_wc_product_description', wp_kses_post($_POST['abcbiz_wc_product_description']) ); } } // Save data add_action('save_post', 'abcbiz_save_wc_desc_postdata'); }