WP_CLI
ContextManager::get_context
Return the current context.
Метод класса: ContextManager{}
Хуков нет.
Возвращает
Строку. Current context.
Использование
$ContextManager = new ContextManager(); $ContextManager->get_context();
Код ContextManager::get_context() ContextManager::get context WP-CLI 2.13.0-alpha
public function get_context() {
return $this->current_context;
}