nxs_addToLog

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

Description

nxs_addToLog( $type, $action, $nt, (string) $msg = '' ); 

Parameters (4)

0. $type
The type.
1. $action
The action.
2. $nt
The nt.
3. $msg — Optional. (string) => ''
The msg.

Usage

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

Defined (1)

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

/nxs_functions.php  
  1. if (!function_exists('nxs_addToLog')) { function nxs_addToLog ($type, $action, $nt, $msg='') { nxs_addToLogN ($type, $action, $nt, $msg); }}