"175", "ss_size" => "120", "cache_time_select_box" => (24*60*60), "cache_images_locally" => "1", "linkshare_partner_id" => "" ); update_option('adp_options', $arr); } } // Init plugin options to white list our options function adp_init(){ $settings = get_option('adp_options'); if(!$settings) adp_add_defaults(); //Added store country option if(!ios_app_setting('store_country')) ios_app_set_setting('store_country', 'us'); register_setting( 'adp_plugin_options', 'adp_options', 'adp_validate_options' ); } // Add menu page function adp_add_options_page() { add_options_page('App Display Page Options', 'App Display Page', 'manage_options', __FILE__, 'adp_render_form'); } // Render the Plugin options form function adp_render_form() { ?>