Automattic\WooCommerce\Internal\Abilities\Domain
AbstractDomainAbility::get_delete_output_schema
Get a delete output schema.
Метод класса: AbstractDomainAbility{}
Хуков нет.
Возвращает
array.
Использование
$result = AbstractDomainAbility::get_delete_output_schema(): array;
Код AbstractDomainAbility::get_delete_output_schema() AbstractDomainAbility::get delete output schema WC 11.2.2
protected static function get_delete_output_schema(): array {
return array(
'type' => 'object',
'properties' => array(
'deleted' => array( 'type' => 'boolean' ),
'id' => array( 'type' => 'integer' ),
),
'additionalProperties' => false,
);
}