bozo_delete_post

The BuddyPress bozo delete post function.

Description

bozo_delete_post( $post_id, $new_status, $old_status ); 

Parameters (3)

0. $post_id
The post id.
1. $new_status
The new status.
2. $old_status
The old status.

Usage

  1. if ( !function_exists( 'bozo_delete_post' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-forums/bbpress/bb-includes/functions.bb-deprecated.php'; 
  3.  
  4. // The post id. 
  5. $post_id = null; 
  6.  
  7. // The new status. 
  8. $new_status = null; 
  9.  
  10. // The old status. 
  11. $old_status = null; 
  12.  
  13. // NOTICE! Understand what this does before running. 
  14. $result = bozo_delete_post($post_id, $new_status, $old_status); 
  15.  

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-deprecated.php  
  1. function bozo_delete_post( $post_id, $new_status, $old_status ) { 
  2. bb_log_deprecated('function', __FUNCTION__, 'bb_bozo_delete_post'); 
  3. return bb_bozo_delete_post( $post_id, $new_status, $old_status ) ;