nxs_getExpSettings_ajax

The NextScripts: Social Networks Auto-Poster nxs getExpSettings ajax function.

Description

nxs_getExpSettings_ajax(); 

Usage

  1. if ( !function_exists( 'nxs_getExpSettings_ajax' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'nextscripts-social-networks-auto-poster/NextScripts_SNAP.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = nxs_getExpSettings_ajax(); 
  7.  

Defined (1)

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

/NextScripts_SNAP.php  
  1. if (!function_exists("nxs_getExpSettings_ajax")) { function nxs_getExpSettings_ajax() { /** check_ajax_referer('nsDN'); */ $filename = preg_replace('/[^a-z0-9\-\_\.]/i', '', $_POST['filename']); 
  2. header("Cache-Control: "); header("Content-type: text/plain"); header('Content-Disposition: attachment; filename="'.$filename.'"'); 
  3. global $plgn_NS_SNAutoPoster; if (!isset($plgn_NS_SNAutoPoster)) return; $options = $plgn_NS_SNAutoPoster->nxs_options;  
  4. //array_walk_recursive($options, 'nxs_addslashes'); 
  5. array_walk_recursive($options, "nxs_noR"); $ser = serialize($options); echo $ser; die(); 
  6. }}