Automattic\WooCommerce\Internal\ProductFeed\Feed

FeedInterface::add_entrypublicWC 1.0

Add an entry to the feed.

Метод класса: FeedInterface{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$FeedInterface = new FeedInterface();
$FeedInterface->add_entry( $entry ): void;
$entry(массив) (обязательный)
The entry to add.

Код FeedInterface::add_entry() WC 10.5.2

public function add_entry( array $entry ): void;