apply_filters( 'bp_friends_format_activity_action_friendship_created', string $action, object $activity )

Filters the ‘friendship_created’ activity action format.

Description

Parameters

$action

(string) String text for the 'friendship_created' action.

$activity

(object) Activity data.

Source

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

Changelog

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