nxs_chArrVar

The NextScripts: Social Networks Auto-Poster nxs chArrVar function.

Description

nxs_chArrVar( $arr, $varN, $varV ); 

Parameters (3)

0. $arr
The arr.
1. $varn
The varn.
2. $varv
The varv.

Usage

  1. if ( !function_exists( 'nxs_chArrVar' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'nextscripts-social-networks-auto-poster/nxs_functions.php'; 
  3.  
  4. // The arr. 
  5. $arr = null; 
  6.  
  7. // The varn. 
  8. $varn = null; 
  9.  
  10. // The varv. 
  11. $varv = null; 
  12.  
  13. // NOTICE! Understand what this does before running. 
  14. $result = nxs_chArrVar($arr, $varn, $varv); 
  15.  

Defined (1)

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

/nxs_functions.php  
  1. if (!function_exists("nxs_chArrVar")) { function nxs_chArrVar($arr, $varN, $varV) { return (isset($arr) && is_array($arr) && isset($arr[$varN]) && $arr[$varN]==$varV); }}