topicmeta

The WordPress Core topicmeta hook.

Description

add_action( 'topicmeta', (string) $bb_user_subscribe_link ); 

Parameters (1)

0. $bb_user_subscribe_link (string) => 'bb_user_subscribe_link'
The bb user subscribe link.

Usage

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

Defined (2)

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

/bp-forums/bbpress/bb-includes/defaults.bb-filters.php  
  1. add_action( 'topicmeta', 'bb_user_subscribe_link' ); 
/bp-forums/bbpress/bb-templates/kakumei/topic.php  
  1. <?php endif; do_action('topicmeta'); ?>