<?php
if(isset($PostID) && isset($_POST['wpsm_faq_setting_save_action'])) {
			
			
			$acc_sec_title 		     = sanitize_option('acc_sec_title', $_POST['acc_sec_title']);
			$op_cl_icon      	     = sanitize_option('op_cl_icon', $_POST['op_cl_icon']);
			$acc_title_icon 	     = sanitize_option('acc_title_icon', $_POST['acc_title_icon']);
			$acc_radius     	     = sanitize_option('acc_radius', $_POST['acc_radius']);
			$acc_margin     	     = sanitize_option('acc_margin', $_POST['acc_margin']);
			$acc_op_cl_align         = sanitize_option('acc_op_cl_align', $_POST['acc_op_cl_align']);
			$enable_toggle           = sanitize_option('enable_toggle', $_POST['enable_toggle']);
			$enable_ac_border        = sanitize_option('enable_ac_border',$_POST['enable_ac_border']);
			$expand_option           = sanitize_option('expand_option',$_POST['expand_option']);
			$ac_styles               = sanitize_option('ac_styles',$_POST['ac_styles']);
			$acc_title_bg_clr        = sanitize_text_field($_POST['acc_title_bg_clr']);
			$acc_title_icon_clr      = sanitize_text_field($_POST['acc_title_icon_clr']);
			$acc_open_cl_icon_bg_clr = sanitize_text_field($_POST['acc_open_cl_icon_bg_clr']);
			$acc_open_cl_icon_ft_clr = sanitize_text_field($_POST['acc_open_cl_icon_ft_clr']);
			$acc_desc_bg_clr  	     = sanitize_text_field($_POST['acc_desc_bg_clr']);
			$acc_desc_font_clr       = sanitize_text_field($_POST['acc_desc_font_clr']);
			$title_size 		     = sanitize_text_field($_POST['title_size']);
			$des_size         	     = sanitize_text_field($_POST['des_size']);
			$font_family             = sanitize_text_field($_POST['font_family']);
			$custom_css              = stripslashes($_POST['custom_css']);
			
			
			
			$Shortcode_Settings_Array = serialize( array(
				'acc_sec_title' 		    => $acc_sec_title,
				'op_cl_icon' 			    => $op_cl_icon,
				'acc_title_icon' 		    => $acc_title_icon,
				'acc_radius' 			    => $acc_radius,
				'acc_margin'	 		    => $acc_margin,
				'acc_op_cl_align' 		    => $acc_op_cl_align,
				'enable_toggle' 		    => $enable_toggle,
				'enable_ac_border' 		    => $enable_ac_border,
				'acc_title_bg_clr' 		    => $acc_title_bg_clr,
				'acc_title_icon_clr'	    => $acc_title_icon_clr,
				'acc_open_cl_icon_bg_clr'	=> $acc_open_cl_icon_bg_clr,
				'acc_open_cl_icon_ft_clr'	=> $acc_open_cl_icon_ft_clr,
				'acc_desc_bg_clr' 		    => $acc_desc_bg_clr,
				'acc_desc_font_clr' 	    => $acc_desc_font_clr,
				'title_size' 			    => $title_size,
				'des_size' 				    => $des_size,
				'font_family' 			    => $font_family,
				'custom_css' 			    => $custom_css,
				'expand_option' 		    => $expand_option,
				'ac_styles' 			    => $ac_styles,
				) );

			update_post_meta($PostID, 'Wpsm_Faq_Shortcode_Settings', $Shortcode_Settings_Array);
		}

?>