Components::list_( $args,  $assoc_args )

Get a list of components.


Description Description

Top ↑

OPTIONS OPTIONS

Top ↑

[–type=] : Type of the component (all, optional, retired, required). [–type=] : Type of the component (all, optional, retired, required).

default: all options:

Top ↑

[–status=] : Status of the component (all, active, inactive). [–status=] : Status of the component (all, active, inactive).

default: all options:

[–fields=] : Fields to display (id, title, description).

Top ↑

[–format=] : Render output in a particular format. [–format=] : Render output in a particular format.

default: table options:

Top ↑

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


			

Top ↑

User Contributed Notes User Contributed Notes

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