[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

Deprecated functions.

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

Defines 10 functions

  bp_attachments_is_wp_version_supported()
  xprofile_avatar_upload_dir()
  xprofile_action_delete_avatar()
  xprofile_screen_change_cover_image()
  xprofile_screen_change_avatar()
  bp_group_public_status()
  bp_get_group_public_status()
  bp_group_is_public()
  bp_get_group_is_public()
  bp_core_add_illegal_names()

Functions
Functions that are not part of a class:

bp_attachments_is_wp_version_supported()   X-Ref
Check if the current WordPress version is using Plupload 2.1.1

Plupload 2.1.1 was introduced in WordPress 3.9. Our bp-plupload.js
script requires it. So we need to make sure the current WordPress
match with our needs.

since: 2.3.0
since: 3.0.0 This is always true.
return: bool Always true.

xprofile_avatar_upload_dir( $directory = 'avatars', $user_id = 0 )   X-Ref
Setup the avatar upload directory for a user.

param: string $directory The root directory name. Optional.
param: int    $user_id   The user ID. Optional.
since: 1.0.0
return: array Array containing the path, URL, and other helpful settings.

xprofile_action_delete_avatar()   X-Ref
This function runs when an action is set for a screen:
example.com/members/andy/profile/change-avatar/ [delete-avatar]

The function will delete the active avatar for a user.

since: 1.0.0

xprofile_screen_change_cover_image()   X-Ref
Displays the change cover image page.

since: 2.4.0

xprofile_screen_change_avatar()   X-Ref
Handles the uploading and cropping of a user avatar. Displays the change avatar page.

since: 1.0.0

bp_group_public_status( $group = false )   X-Ref
Output the status of the current group in the loop.

Either 'Public' or 'Private'.

param: object|bool $group Optional. Group object.
since: 1.0.0

bp_get_group_public_status( $group = false )   X-Ref
Return the status of the current group in the loop.

Either 'Public' or 'Private'.

param: object|bool $group Optional. Group object.
since: 1.0.0
return: string

bp_group_is_public( $group = false )   X-Ref
Output whether the current group in the loop is public.

No longer used in BuddyPress.

param: object|bool $group Optional. Group object.

bp_get_group_is_public( $group = false )   X-Ref
Return whether the current group in the loop is public.

No longer used in BuddyPress.

param: object|bool $group Optional. Group object.
return: mixed

bp_core_add_illegal_names()   X-Ref
Add illegal blog names to WP so that root components will not conflict with blog names on a subdirectory installation.

For example, it would stop someone creating a blog with the slug "groups".

since: 1.0.0



Generated: Sun Dec 22 01:00:54 2024 Cross-referenced by PHPXref 0.7.1