bp_avatar_get_templates()
Template function to load the Avatar UI javascript templates.
Description
Source
File: bp-core/bp-core-avatars.php
function bp_avatar_get_templates() {
if ( ! bp_avatar_is_front_edit() ) {
return;
}
bp_attachments_get_template_part( 'avatars/index' );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 2.3.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.