' . __('Saved!', 'ad-minister') . '
'; $value = $content[$id]; } } else if ($_POST['action'] == 'delete') { $id = $_POST['id']; $content = get_post_meta(get_option('administer_post_id'), 'administer_content', true); $stats = get_post_meta(get_option('administer_post_id'), 'administer_stats', true); if (is_array($stats)) { unset($stats[$id]); update_post_meta(get_option('administer_post_id'), 'administer_stats', $stats); } // Remove the evidence unset($content[$id]); // Save back down update_post_meta(get_option('administer_post_id'), 'administer_content', $content); // Notify echo '' . __('Deleted!', 'ad-minister') . '
' . __('There is no content! Do make some.', 'ad-minister') . '