/** * Update Shortcode content by merge its content & sub-shortcode content */ function update_whole_sc_content() { if (!isset($_POST[IGNONCE]) || !wp_verify_nonce($_POST[IGNONCE], IGNONCE)) { return; } $shortcode_content = $_POST['shortcode_content']; $sub_shortcode_content = $_POST['sub_shortcode_content']; echo balanceTags(IG_Pb_Helper_Shortcode::merge_shortcode_content($shortcode_content, $sub_shortcode_content)); exit; }