Automattic\WooCommerce\Blocks\Templates
OrderConfirmationTemplate::get_placeholder_page
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() OrderConfirmationTemplate::get placeholder page WC 10.4.2
protected function get_placeholder_page() {
return null;
}