Automattic\WooCommerce\Internal\RestApi\Routes\V4

AbstractSchema::get_writable_item_schema_propertiespublicWC 10.2.0

Return all writable properties for the item schema.

Method of the class: AbstractSchema{}

No Hooks.

Returns

Array. The schema properties.

Usage

$AbstractSchema = new AbstractSchema();
$AbstractSchema->get_writable_item_schema_properties(): array;

Changelog

Since 10.2.0 Introduced.

AbstractSchema::get_writable_item_schema_properties() code WC 10.4.3

public function get_writable_item_schema_properties(): array {
	return array_filter( $this->get_item_schema_properties(), array( $this, 'filter_writable_props' ) );
}