Activity::post_update( $args, $assoc_args )
Post an activity update.
Description Description
OPTIONS OPTIONS
–user-id=
–content=
[–porcelain] : Output only the new activity id.
EXAMPLES EXAMPLES
$ wp bp activity post_update --user-id=50 --content="Content to update"
Success: Successfully updated with a new activity item (ID #13165)
$ wp bp activity post_update --user-id=140
Success: Successfully updated with a new activity item (ID #4548)
Source Source
File: cli/src/activity.php