bp_groupblog_remove_post

The BP Groupblog bp groupblog remove post hook.

Description

do_action( 'bp_groupblog_remove_post', (unknown) $blog_id, (unknown) $post_id, (unknown) $user_id, (unknown) $group_id ); 

Parameters (4)

0. $blog_id (unknown)
The blog id.
1. $post_id (unknown)
The post id.
2. $user_id (unknown)
The user id.
3. $group_id (unknown)
The group id.

Usage

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

Defined (1)

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

/bp-groupblog.php  
  1. do_action( 'bp_groupblog_remove_post', $blog_id, $post_id, $user_id, $group_id );