gads_dash_admin_actions

The Google Adsense Dashboard gads dash admin actions function.

Description

gads_dash_admin_actions(); 

Usage

  1. if ( !function_exists( 'gads_dash_admin_actions' ) ) { 
  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_admin_actions(); 
  7.  

Defined (1)

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

/gads_dash.php  
  1. function gads_dash_admin_actions() { 
  2. if (current_user_can ( 'manage_options' )) { 
  3. add_options_page ( "Earnings Dashboard", "Earnings Dashboard", "manage_options", "Earnings_Dashboard", "gads_dash_admin" );