[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/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

  bp_blogs_catch_transition_post_status()
  bp_blogs_record_post()
  bp_blogs_update_post()
  bp_blogs_format_clear_blog_cache()
  bp_xprofile_format_activity_action_new_member()
  bp_core_add_global_group()
  bp_message_add_meta()

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.

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

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

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
return: bool|null Returns false on failure.

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

param: WP_Post $post
since: 2.0.0

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

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

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

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

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: Sun Dec 22 01:00:54 2024 Cross-referenced by PHPXref 0.7.1