Components::list_( $args, $assoc_args )
Get a list of components.
Contents
Description Description
OPTIONS OPTIONS
[–type=] : Type of the component (all, optional, retired, required). [–type=] : Type of the component (all, optional, retired, required).
default: all options:
[–status=] : Status of the component (all, active, inactive). [–status=] : Status of the component (all, active, inactive).
default: all options:
[–fields=
[–format=] : Render output in a particular format. [–format=] : Render output in a particular format.
default: table options:
EXAMPLES EXAMPLES
$ wp bp component list --format=count
10
$ wp bp component list --status=inactive --format=count
4
Source Source
File: cli/src/components.php