apply_filters( "bp_get_activity_secondary_avatar_object_{$activities_template->activity->component}", string $object )

Filters the activity secondary avatar object based on current activity item component.

Description

This is a variable filter dependent on the component used. Possible hooks are bp_get_activity_secondary_avatar_object_blog, bp_get_activity_secondary_avatar_object_group, and bp_get_activity_secondary_avatar_object_user.

Parameters

$object

(string) Component being displayed.

Source

File: bp-activity/bp-activity-template.php

Changelog

Changelog
Version Description
BuddyPress 1.2.10 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.