Automattic\WooCommerce\Blocks\Templates

OrderConfirmationTemplate::get_placeholder_page()protectedWC 1.0

Returns the page object assigned to this template/page.

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

Хуков нет.

Возвращает

\WP_Post|null. Post object or null.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_placeholder_page();

Код OrderConfirmationTemplate::get_placeholder_page() WC 9.5.1

protected function get_placeholder_page() {
	return null;
}