Activity::generate( $args, $assoc_args )
Generate random activity items.
Contents
Description Description
OPTIONS OPTIONS
[–count=] : How many activity items to generate. [–count=] : How many activity items to generate.
default: 100 default: 100
[–skip-activity-comments=] : Whether to skip activity comments. Recording activity_comment items requires a resource-intensive tree rebuild. [–skip-activity-comments=] : Whether to skip activity comments. Recording activity_comment items requires a resource-intensive tree rebuild.
default: 1 default: 1
EXAMPLE EXAMPLE
$ wp bp activity generate --count=50
Source Source
File: cli/src/activity.php