gads_dash_safe_get

Author: Alin Marcu Author URI: http://deconf.com License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html.

Description

gads_dash_safe_get( $key ); 

Parameters (1)

0. $key
The key.

Usage

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

Defined (1)

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

/functions.php  
  1. function gads_dash_safe_get($key) 
  2. if (array_key_exists($key, $_POST)) { 
  3. return $_POST[$key]; 
  4. return false;