bbp_template_before_single_topic
The evolve bbp template before single topic hook.
Description
do_action( 'bbp_template_before_single_topic' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'bbp_template_before_single_topic' );
- The following example is for adding a hook callback.
- // define the bbp_template_before_single_topic callback
- function action_bbp_template_before_single_topic( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'bbp_template_before_single_topic', 'action_bbp_template_before_single_topic', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'bbp_template_before_single_topic', 'action_bbp_template_before_single_topic', 10, 0 );
Defined (1)
The action is defined in the following location(s).
- /bbpress/content-single-topic.php
- do_action('bbp_template_before_single_topic');