bbp_theme_before_topic_form_status
The bbPress bbp theme before topic form status hook.
Description
do_action( 'bbp_theme_before_topic_form_status' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'bbp_theme_before_topic_form_status' );
- The following example is for adding a hook callback.
- // define the bbp_theme_before_topic_form_status callback
- function action_bbp_theme_before_topic_form_status( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'bbp_theme_before_topic_form_status', 'action_bbp_theme_before_topic_form_status', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'bbp_theme_before_topic_form_status', 'action_bbp_theme_before_topic_form_status', 10, 0 );
Defined (1)
The action is defined in the following location(s).
- /templates/default/bbpress/form-topic.php
- <?php do_action( 'bbp_theme_before_topic_form_status' ); ?>