"175", "ss_size" => "120", "cache_time_select_box" => (24*60*60), "display_smart_banner" => true, "cache_images_locally" => "1", "phg_partner_id" => "", "phg_campaign_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() { ?>

App Display Page Options

Store Country: This option determines how long before the plugin requests new data from Apple's servers.
Icon Width/Height:
(in px.)
Screenshot Width:
(in px. Height is automatic.)
Data cache time: This option determines how long before the plugin requests new data from Apple's servers.
Cache images locally:
Load icons, screenshots, etc. locally instead of using Apple's CDN server. Your wp-content/uploads/ directory MUST be writeable for this option to have any effect.
iTunes Affiliate:

PHG Affiliate Token:
Leave this blank if you don not have an iTunes affiliate account.
You can find this by logging into affiliate.itunes.apple.com.

PHG Affiliate Campaign:
Any string you want to use to track this website's clicks.

Display a Smart Banner: