WP_CLI

WpOrgApi::__construct()publicWP-CLI 1.0

WpOrgApi constructor.

Method of the class: WpOrgApi{}

No Hooks.

Return

null. Nothing.

Usage

$WpOrgApi = new WpOrgApi();
$WpOrgApi->__construct( $options );
$options(array)
Associative array of options to pass to the API abstraction.
Default: []

WpOrgApi::__construct() code WP-CLI 2.8.0-alpha

public function __construct( $options = [] ) {
	$this->options = $options;
}