Automattic\WooCommerce\Internal\Orders

OrderAttributionController::stamp_checkout_html_element_oncepublicWC 9.0.0

Устарела с версии 0.5.0. Больше не поддерживается и может быть удалена. Используйте stamp_html_element().

Handles the <wc-order-attribution-inputs> element for checkout forms.

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

Хуков нет.

Возвращает

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

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

$OrderAttributionController = new OrderAttributionController();
$OrderAttributionController->stamp_checkout_html_element_once();

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

С версии 9.0.0 Введена.
Устарела с 10.5.0 Use stamp_html_element() instead.

Код OrderAttributionController::stamp_checkout_html_element_once() WC 10.8.1

public function stamp_checkout_html_element_once() {
	wc_deprecated_function( __METHOD__, '10.5.0', 'stamp_html_element' );
	$this->stamp_html_element();
}