bp_message_thread_avatar
Output the avatar for the last sender in the current message thread.
Description
bp_message_thread_avatar( (string) $args = '' );
Parameters (1)
- 0. $args — Optional. (string) =>
''
- The args.
Usage
if ( !function_exists( 'bp_message_thread_avatar' ) ) { require_once ABSPATH . PLUGINDIR . 'buddypress/bp-messages/bp-messages-template.php'; } // The args. $args = ''; // NOTICE! Understand what this does before running. $result = bp_message_thread_avatar($args);
Defined (1)
The function is defined in the following location(s).
- /bp-messages/bp-messages-template.php
- function bp_message_thread_avatar( $args = '' ) {
- echo bp_get_message_thread_avatar( $args );
- }