PluginProbe
BuddyPress / trunk
BuddyPress vtrunk
11.6.2 12.7.2 14.5.2 11.6.0 12.7.0 2.5.0-rc1 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.6.0 2.6.0-beta1 2.6.0-rc1 2.6.1 2.6.1.1 2.6.2 2.6.3 2.6.4 2.7.0 2.7.0-beta1 2.7.0-rc1 2.7.0-rc2 2.7.1 2.7.2 All 274 releases
buddypress / cli / src / buddypress.php

buddypress.php in BuddyPress trunk, at cli/src/buddypress.php

27 lines 888 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Buddypress\CLI\Command;
4
5 /**
6 * Manage BuddyPress through the command-line.
7 *
8 * ## EXAMPLES
9 *
10 * # Create a user signup.
11 * $ wp bp signup create --user-login=test_user --user-email=teste@site.com
12 * Success: Successfully added new user signup (ID #345).
13 *
14 * # Activate a component.
15 * $ wp bp component activate groups
16 * Success: The Groups component has been activated.
17 *
18 * # List xprofile fields.
19 * $ wp bp xprofile field list
20 * +----+------+-------------+---------+----------+-------------+
21 * | id | name | description | type | group_id | is_required |
22 * +----+------+-------------+---------+----------+-------------+
23 * | 1 | Name | | textbox | 1 | 1 |
24 * +----+------+-------------+---------+----------+-------------+
25 */
26 class BuddyPress extends BuddyPressCommand {}
27