gads_dash_settings_link

The Google Adsense Dashboard gads dash settings link function.

Description

gads_dash_settings_link( $links ); 

Parameters (1)

0. $links
The links.

Usage

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

Defined (1)

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

/gads_dash.php  
  1. function gads_dash_settings_link($links) { 
  2. $settings_link = '<a href="options-general.php?page=Earnings_Dashboard">' . __ ( "Settings", 'gads-dash' ) . '</a>'; 
  3. array_unshift ( $links, $settings_link ); 
  4. return $links;