WP_CLI\Dispatcher

CommandAddition::get_reason()publicWP-CLI 1.0

Get the reason as to why the addition was aborted.

Method of the class: CommandAddition{}

No Hooks.

Return

String.

Usage

$CommandAddition = new CommandAddition();
$CommandAddition->get_reason();

CommandAddition::get_reason() code WP-CLI 2.8.0-alpha

public function get_reason() {
	return $this->reason;
}