nxs_adminInitFunc2

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

Description

nxs_adminInitFunc2(); 

Usage

  1. if ( !function_exists( 'nxs_adminInitFunc2' ) ) { 
  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_adminInitFunc2(); 
  7.  

Defined (1)

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

/NextScripts_SNAP.php  
  1. if (!function_exists("nxs_adminInit")) { function nxs_adminInit() { global $plgn_NS_SNAutoPoster, $nxs_snapThisPageUrl, $pagenow; $nxs_snapThisPageUrl = nxs_get_admin_url().($pagenow=='admin.php'?'network/':'').$pagenow.'?page=NextScripts_SNAP.php'; //## Add MEtaBox to Post Edit Page 
  2. if (current_user_can("see_snap_box") || current_user_can("manage_options")) { add_action('add_meta_boxes', array($plgn_NS_SNAutoPoster, 'NS_SNAP_addCustomBoxes'));  
  3. if (!($pagenow=='options-general.php' && !empty($_GET['page']) && $_GET['page']=='NextScripts_SNAP.php')) add_action( 'admin_bar_menu', 'nxs_toolbar_link_to_mypage', 999 ); 
  4. }}