WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WC_Webhook::process() public WC 2.2.0

Process the webhook for delivery by verifying that it should be delivered. and scheduling the delivery (in the background by default, or immediately).

{} Это метод класса: WC_Webhook{}

Хуки из метода
Возвращает

Разное. $arg Returns the argument in case the webhook was hooked into a filter.

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

$WC_Webhook = new WC_Webhook();
$WC_Webhook->process( $arg );
$arg(смешанный) (обязательный)
The first argument provided from the associated hooks.

Список изменений

С версии 2.2.0 Введена.

Код WC_Webhook::process() WC 4.7.0

<?php
public function process( $arg ) {

	// Verify that webhook should be processed for delivery.
	if ( ! $this->should_deliver( $arg ) ) {
		return;
	}

	// Mark this $arg as processed to ensure it doesn't get processed again within the current request.
	$this->processed[] = $arg;

	/**
	 * Process webhook delivery.
	 *
	 * @since 3.3.0
	 * @hooked wc_webhook_process_delivery - 10
	 */
	do_action( 'woocommerce_webhook_process_delivery', $this, $arg );

	return $arg;
}