do_action( 'bp_activity_add_user_favorite', int $activity_id, int $user_id )

Fires if bp_activity_update_meta() for favorite_count is successful and before returning a true value for success.


Description Description


Parameters Parameters

$activity_id

ID of the activity item being favorited.

$user_id

ID of the user doing the favoriting.


Top ↑

Source Source

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


Top ↑

Changelog Changelog

Changelog
Version Description
1.2.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.