createTable(); if($_POST['anc_hidden'] == 'Y') { //echo '
';print_r($_POST);echo '';exit; //Form data sent } else { //Normal page display } if($_POST['anc_hidden'] == 'Y' && wp_create_nonce('update-form-opendc') == $_POST['opendc_hidden_nonce'] ) { //Form data sent if (!current_user_can('manage_options')) wp_die(__( 'You do not have sufficient permissions to access this page.', 'ACF')); $anc_site_logo = $func->filter_post($_POST['anc_site_logo']); update_option('anc_site_logo', $anc_site_logo); $blogname = $func->filter_post($_POST['blogname']); update_option('blogname', $blogname); $blogdescription = $func->filter_post($_POST['blogdescription']); update_option('blogdescription', $blogdescription); $anc_site_meta_title = $func->filter_post($_POST['anc_site_meta_title']); update_option('anc_site_meta_title', $anc_site_meta_title); $anc_site_meta_description = $func->filter_post($_POST['anc_site_meta_description']); update_option('anc_site_meta_description', $anc_site_meta_description); $anc_site_meta_keywords = $func->filter_post($_POST['anc_site_meta_keywords']); update_option('anc_site_meta_keywords', $anc_site_meta_keywords); $anc_cmail1 = $func->filter_post($_POST['anc_cmail1'],'email'); update_option('anc_cmail1', $anc_cmail1); $anc_cmail2 = $func->filter_post($_POST['anc_cmail2'],'email'); update_option('anc_cmail2', $anc_cmail2); $anc_cmail3 = $func->filter_post($_POST['anc_cmail3'],'email'); update_option('anc_cmail3', $anc_cmail3); $anc_cname = $func->filter_post($_POST['anc_cname']); update_option('anc_cname', $anc_cname); $anc_caddress = $_POST['anc_caddress']; update_option('anc_caddress', $anc_caddress); $anc_cno = $func->filter_post($_POST['anc_cno']); update_option('anc_cno', $anc_cno); $anc_hidden_div_social = $func->filter_post($_POST['anc_hidden_div_social']); update_option('anc_hidden_div_social', $anc_hidden_div_social); $anc_hidden_div_general = $func->filter_post($_POST['anc_hidden_div_general']); update_option('anc_hidden_div_general', $anc_hidden_div_general); $anc_hidden_div_contact = $func->filter_post($_POST['anc_hidden_div_contact']); update_option('anc_hidden_div_contact', $anc_hidden_div_contact); $anc_hidden_div_custom = $func->filter_post($_POST['anc_hidden_div_link']); update_option('anc_hidden_div_link', $anc_hidden_div_custom); $func->deleteAll('general'); for($i=0;$i