bp_directory_forums_extra_cell

The WordPress Core bp directory forums extra cell hook.

Description

add_action( 'bp_directory_forums_extra_cell', (string) $ass_topic_follow_or_mute_link, (int) $int ); 

Parameters (2)

0. $ass_topic_follow_or_mute_link (string) => 'ass_topic_follow_or_mute_link'
The ass topic follow or mute link.
1. $int (int) => 50
The int.

Usage

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

Defined (1)

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

/legacy-forums.php  
  1. add_action( 'bp_directory_forums_extra_cell', 'ass_topic_follow_or_mute_link', 50 );