Automattic\WooCommerce\Internal\ProductFeed\Feed

FeedInterface::add_entrypublicWC 1.0

Add an entry to the feed.

Method of the class: FeedInterface{}

No Hooks.

Returns

null. Nothing (null).

Usage

$FeedInterface = new FeedInterface();
$FeedInterface->add_entry( $entry ): void;
$entry(array) (required)
The entry to add.

FeedInterface::add_entry() code WC 10.8.1

public function add_entry( array $entry ): void;