WordPress\AiClient\Operations\Contracts

OperationInterface::getStatepublicWP 0.1.0

Gets the current state of the operation.

Method of the class: OperationInterface{}

No Hooks.

Returns

OperationStateEnum. The operation state.

Usage

$OperationInterface = new OperationInterface();
$OperationInterface->getState(): OperationStateEnum;

Changelog

Since 0.1.0 Introduced.

OperationInterface::getState() code WP 7.0

public function getState(): OperationStateEnum;