Automattic\WooCommerce\Internal\ProductFeed\Feed

FeedInterface::add_entry │ public │ WC 1.0

Add an entry to the feed.

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

Хуков нет.

Возвращает

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

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

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

Код FeedInterface::add_entry() WC 11.2.2

public function add_entry( array $entry ): void;