User Tools

Site Tools


plugins:tabs_menus

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
plugins:tabs_menus [2014/01/04 10:13]
Everyone [Side Menu Creation Function]
plugins:tabs_menus [2014/01/04 11:14]
Everyone [Tab Creation Function]
Line 60: Line 60:
  
 <​code>​ <​code>​
-add_action('​nav-tab','​createNavTab',​array('​thetabname','​your-plugin-filename','​Tab Text', '​my-action'​));​+add_action( '​nav-tab',​ '​createNavTab',​ array( '​thetabname',​ '​your-plugin-filename',​ 'Tab Text', '​my-action'​ ) );
 </​code>​ </​code>​
  
Line 67: Line 67:
  
 <​code>​ <​code>​
-add_action('​thetabname-sidebar',​ ...); // e.g. '​newsmanager-sidebar'​+add_action( '​thetabname-sidebar',​ ... ); // e.g. '​newsmanager-sidebar'​
 </​code>​ </​code>​
  
  
 Only use this functionality,​ if you need a lot of side bar links for you plugin and want to group them. Only use this functionality,​ if you need a lot of side bar links for you plugin and want to group them.
plugins/tabs_menus.txt ยท Last modified: 2014/02/07 10:02 by datiswous