Automattic\WooCommerce\Internal\Fulfillments

Fulfillment::is_lockedpublicWC 1.0

Check if the fulfillment is locked.

Method of the class: Fulfillment{}

No Hooks.

Returns

true|false. Whether the fulfillment is locked.

Usage

$Fulfillment = new Fulfillment();
$Fulfillment->is_locked(): bool;

Fulfillment::is_locked() code WC 10.3.3

public function is_locked(): bool {
	return boolval( $this->get_meta( '_is_locked' ) );
}