nxs_save_ntwrksOpts

The NextScripts: Social Networks Auto-Poster nxs save ntwrksOpts function.

Description

nxs_save_ntwrksOpts( $networks ); 

Parameters (1)

0. $networks
The networks.

Usage

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

Defined (1)

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

/inc/nxs_functions_adv.php  
  1. if (!function_exists("nxs_save_ntwrksOpts")) { function nxs_save_ntwrksOpts($networks) { if (function_exists('nxs_settings_save')) nxs_settings_save($networks); 
  2. if (function_exists('get_option')) { if (!empty($networks)) update_option('NS_SNAutoPoster', $networks); }  
  3. }}