Friends::generate( $args,  $assoc_args )

Generate random friendships.


Description Description

Top ↑

OPTIONS OPTIONS

Top ↑

[–count=] : How many friendships to generate. [–count=] : How many friendships to generate.

Top ↑

default: 100 default: 100

[–initiator=] : ID of the first user. Accepts either a user_login or a numeric ID.

[–friend=] : ID of the second user. Accepts either a user_login or a numeric ID.

[–force-accept] : Whether to force acceptance.

Top ↑

EXAMPLES EXAMPLES

$ wp bp friend generate --count=50
$ wp bp friend generate --initiator=121 --count=50

Source Source

File: cli/src/friends.php


			

Top ↑

User Contributed Notes User Contributed Notes

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