bpbbpst_add_support_mention_action
The Buddy-bbPress Support Topic bpbbpst add support mention action hook.
Description
do_action( 'bpbbpst_add_support_mention_action', (unknown) $forum_id, (unknown) $forum_status, (unknown) $topic_id );
Parameters (3)
- 0. $forum_id (unknown)
- The forum id.
- 1. $forum_status (unknown)
- The forum status.
- 2. $topic_id (unknown)
- The topic id.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'bpbbpst_add_support_mention_action', $forum_id, $forum_status, $topic_id );
- The following example is for adding a hook callback.
- // define the bpbbpst_add_support_mention_action callback
- function action_bpbbpst_add_support_mention_action( $forum_id, $forum_status, $topic_id ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'bpbbpst_add_support_mention_action', 'action_bpbbpst_add_support_mention_action', 10, 3 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'bpbbpst_add_support_mention_action', 'action_bpbbpst_add_support_mention_action', 10, 3 );
Defined (1)
The action is defined in the following location(s).
- /includes/functions.php
- do_action( 'bpbbpst_add_support_mention_action', $forum_id, $forum_status, $topic_id );