Automattic\WooCommerce\Internal\ProductFeed\Feed

ResumableFeedInterface::deletepublicWC 11.0.0

Delete a feed (e.g. a partial feed left by an abandoned chunked generation).

Method of the class: ResumableFeedInterface{}

No Hooks.

Returns

null. Nothing (null).

Usage

$ResumableFeedInterface = new ResumableFeedInterface();
$ResumableFeedInterface->delete( $identifier ): void;
$identifier(string) (required)
The identifier returned by {@see open()}.

Changelog

Since 11.0.0 Introduced.

ResumableFeedInterface::delete() code WC 11.0.0

public function delete( string $identifier ): void;