ngg_wp_upload_tabs

The NextCellent Gallery ngg wp upload tabs function.

Description

ngg_wp_upload_tabs( $tabs ); 

Parameters (1)

0. $tabs
The tabs.

Usage

  1. if ( !function_exists( 'ngg_wp_upload_tabs' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'nextcellent-gallery/admin/media-upload.php'; 
  3.  
  4. // The tabs. 
  5. $tabs = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = ngg_wp_upload_tabs($tabs); 
  9.  

Defined (1)

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

/admin/media-upload.php  
  1. function ngg_wp_upload_tabs ($tabs) { 
  2.  
  3. $newtab = array('nextgen' => __('NextCellent Gallery', 'nggallery')); 
  4.  
  5. return array_merge($tabs, $newtab);