File: bp-core/bp-core-avatars.php |
Description |
---|---|
bp_avatar_is_front_edit() |
Checks whether Avatar UI should be loaded. |
bp_avatar_is_front_edit |
Use this filter if you need to : – Load the avatar UI for a component that is !groups or !user (return true regarding your conditions) – Completely disable the avatar UI introduced in 2.3 (eg: __return_false()) |
bp_avatar_use_webcam() |
Checks whether the Webcam Avatar UI part should be loaded. |
bp_avatar_use_webcam |
Use this filter if you need to disable the webcam capture feature by returning false. |
bp_avatar_get_templates() |
Template function to load the Avatar UI javascript templates. |
bp_avatar_template_check() |
Trick to check if the theme’s BuddyPress templates are up to date. |
bp_core_avatar_reset_query() |
Reset the week parameter of the WordPress main query if needed. |
bp_core_avatar_original_max_filesize |
Filters the max filesize for original avatar uploads. |
bp_core_avatar_default() |
Get the URL of the ‘full’ default avatar. |
bp_core_avatar_default_thumb() |
Get the URL of the ‘thumb’ default avatar. |