bb_new_post

The WordPress Core bb new post hook.

Description

add_action( 'bb_new_post', (string) $ass_group_notification_forum_posts ); 

Parameters (1)

0. $ass_group_notification_forum_posts (string) => 'ass_group_notification_forum_posts'
The ass group notification forum posts.

Usage

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

Defined (1)

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

/legacy-forums.php  
  1. add_action( 'bb_new_post', 'ass_group_notification_forum_posts' );