WP_CLI\Dispatcher
CommandAddition::get_reason()
Get the reason as to why the addition was aborted.
Метод класса: CommandAddition{}
Хуков нет.
Возвращает
Строку
.
Использование
$CommandAddition = new CommandAddition(); $CommandAddition->get_reason();
Код CommandAddition::get_reason() CommandAddition::get reason WP-CLI 2.8.0-alpha
public function get_reason() { return $this->reason; }