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

Fires if bp_activity_update_meta() for favorite_count is unsuccessful and before returning a false value for failure.

Parameters Parameters


(int) ID of the activity item being favorited.


(int) ID of the user doing the favoriting.

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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