Activity_Favorite::remove( $args,  $assoc_args )

Remove an activity item as a favorite for a user.


Description Description

Top ↑

OPTIONS OPTIONS

: ID of the activity to remove a item to.
: Identifier for the user. Accepts either a user_login or a numeric ID.
[–yes] : Answer yes to the confirmation message.
## EXAMPLES
$ wp bp activity favorite remove 100 500 Success: Activity item removed as a favorite for the user.
$ wp bp activity favorite delete 100 user_test –yes Success: Activity item removed as a favorite for the user.


Source Source

File: cli/src/activity-favorite.php


			

Top ↑

User Contributed Notes User Contributed Notes

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