[ Index ]

PHP Cross Reference of BuddyPress




/src/bp-core/deprecated/ -> 2.2.php (summary)

Deprecated functions

File Size: 116 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 7 functions


Functions that are not part of a class:

bp_blogs_catch_transition_post_status( $new_status, $old_status, $post )   X-Ref
Detect a change in post status, and initiate an activity update if necessary.

Posts get new activity updates when (a) they are being published, and (b)
they have not already been published. This enables proper posting for
regular posts as well as scheduled posts, while preventing post bumping.

See #4090, #3746, #2546 for background.

since: 2.0.0
param: string $new_status New status for the post.
param: string $old_status Old status for the post.
param: object $post Post data.

bp_blogs_record_post( $post_id, $post, $user_id = 0 )   X-Ref
Record a new blog post in the BuddyPress activity stream.

return: bool|null Returns false on failure.
param: int $post_id ID of the post being recorded.
param: object $post The WP post object passed to the 'save_post' action.
param: int $user_id Optional. The user to whom the activity item will be

bp_blogs_update_post( $post )   X-Ref
Updates a blog post's corresponding activity entry during a post edit.

since: 2.0.0
param: WP_Post $post

bp_blogs_format_clear_blog_cache( $recorded_blog_obj )   X-Ref
Clear cache when a new blog is created.

since: 1.0.0
param: BP_Blogs_Blog $recorded_blog_obj The recorded blog, passed by

bp_xprofile_format_activity_action_new_member( $action, $activity )   X-Ref
Format 'new_member' activity actions.

since: 2.0.0
return: string
param: string $action Static activity action.
param: object $activity Activity object.

bp_core_add_global_group()   X-Ref
Add 'bp' to global group of network wide catchable objects.

since: 1.1.0

bp_message_add_meta( $message_id, $meta_key, $meta_value, $unique = false )   X-Ref
Add a piece of message metadata.

Generated: Tue Aug 4 01:01:34 2020 Cross-referenced by PHPXref 0.7.1