ddw_wcde_ddwpinfo_tab

Create new plugin tab for "deckerweb Translations" admin info page.

Description

(string) ddw_wcde_ddwpinfo_tab( $tabs ); 

Returns (string)

Unique tab ID.

Parameters (1)

0. $tabs
The tabs.

Usage

  1. if ( !function_exists( 'ddw_wcde_ddwpinfo_tab' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-german-de_de/includes/wcde-admin-extras.php'; 
  3.  
  4. // The tabs. 
  5. $tabs = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = ddw_wcde_ddwpinfo_tab($tabs); 
  9.  

Defined (1)

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

/includes/wcde-admin-extras.php  
  1. function ddw_wcde_ddwpinfo_tab( $tabs ) { 
  2.  
  3. /** Add new tab */ 
  4. $tabs[ 'woocommerce-german' ] = __( 'WooCommerce German (de_DE)', 'woocommerce-german' ); 
  5.  
  6. /** Return tabs (array) */ 
  7. return $tabs; 
  8.  
  9. } // end of function ddw_wcde_ddwpinfo_tab