bp_blogs_update_post

Updates a blog post's corresponding activity entry during a post edit.

Description

bp_blogs_update_post( (WP_Post) $post ); 

Parameters (1)

0. $post (WP_Post)
The post.

Usage

  1. if ( !function_exists( 'bp_blogs_update_post' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-core/deprecated/2.2.php'; 
  3.  
  4. // The post. 
  5. $post = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bp_blogs_update_post($post); 
  9.  

Defined (1)

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

/bp-core/deprecated/2.2.php  
  1. function bp_blogs_update_post( $post ) { 
  2. _deprecated_function( __FUNCTION__, '2.2', 'bp_activity_post_type_update()' );