gads_dash_install

The Google Adsense Dashboard gads dash install function.

Description

gads_dash_install(); 

Usage

  1. if ( !function_exists( 'gads_dash_install' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-adsense-dashboard/gads_dash.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = gads_dash_install(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/gads_dash.php  
  1. function gads_dash_install() { 
  2. update_option ( 'gads_dash_ads', 0 ); 
  3. update_option ( 'gads_dash_channels', 0 ); 
  4. update_option ( 'gads_dash_access', 'manage_options' ); 
  5. update_option ( 'gads_dash_style', 'green' ); 
  6. update_option ( 'gads_dash_cachetime', 3600 ); 
  7. update_option ( 'gads_dash_timezone', true ); 
  8. update_option ( 'gads_dash_userapi', 0 ); 
  9. update_option ( 'gads_dash_apikey', '' ); 
  10. update_option ( 'gads_dash_clientid', '' ); 
  11. update_option ( 'gads_dash_clientsecret', '' );