add_extra_sub_nav

The rtMedia for WordPress, BuddyPress and bbPress add extra sub nav hook.

Description

do_action( 'add_extra_sub_nav' ); 

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'add_extra_sub_nav' ); 
The following example is for adding a hook callback.
  1. // define the add_extra_sub_nav callback 
  2. function action_add_extra_sub_nav( ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'add_extra_sub_nav', 'action_add_extra_sub_nav', 10, 0 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'add_extra_sub_nav', 'action_add_extra_sub_nav', 10, 0 ); 

Defined (1)

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

/app/main/controllers/template/RTMediaNav.php  
  1. do_action( 'add_extra_sub_nav' );