Automattic\WooCommerce\Blocks\Templates

ComingSoonTemplate::get_placeholder_pageprotectedWC 1.0

Returns the page object assigned to this template/page.

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

Хуков нет.

Возвращает

\WP_Post|null. Post object or null.

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

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

Код ComingSoonTemplate::get_placeholder_page() WC 10.3.6

protected function get_placeholder_page() {
	return null;
}