[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

Deprecated functions.

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

Defines 6 functions

  bp_core_email_from_name_filter()
  bp_core_deprecated_email_filters()
  bp_core_deprecated_email_actions()
  bp_blogs_transition_activity_status()
  bp_blogs_record_comment()
  bp_blogs_remove_comment()

Functions
Functions that are not part of a class:

bp_core_email_from_name_filter()   X-Ref
Set "From" name in outgoing email to the site name.

return: string The blog name for the root blog.
since: 1.0.0

bp_core_deprecated_email_filters( $value, $property, $transform, $email )   X-Ref
Add support for pre-2.5 email filters.

param: mixed $value
param: string $property Name of property.
param: string $transform Return value transformation. Unused.
param: BP_Email $email Email object reference.
return: mixed
since: 2.5.0

bp_core_deprecated_email_actions( $delivery_status, $email )   X-Ref
Add support for pre-2.5 email actions.

param: bool|WP_Error $delivery_status Bool if the email was sent or not.
param: BP_Email $email Email object reference.
return: mixed
since: 2.5.0

bp_blogs_transition_activity_status( $new_status, $old_status, $comment )   X-Ref
When a blog comment status transition occurs, update the relevant activity's status.

param: string $new_status New comment status.
param: string $old_status Previous comment status.
param: object $comment Comment data.
since: 1.6.0

bp_blogs_record_comment( $comment_id, $is_approved = true )   X-Ref
Record a new blog comment in the BuddyPress activity stream.

Only posts the item if blog is public and post is not password-protected.

param: int $comment_id ID of the comment being recorded.
param: bool|string $is_approved Optional. The $is_approved value passed to
return: bool|object|null Returns false on failure, the comment object on success.

bp_blogs_remove_comment( $comment_id )   X-Ref
Remove a blog comment activity item from the activity stream.

param: int $comment_id ID of the comment to be removed.



Generated: Thu Mar 28 01:00:56 2024 Cross-referenced by PHPXref 0.7.1