WC_Shop_Customizer::has_terms_and_conditions_page_id()publicWC 1.0

Whether or not a page has been chose for the terms and conditions.

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

Хуков нет.

Возвращает

true|false.

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

$WC_Shop_Customizer = new WC_Shop_Customizer();
$WC_Shop_Customizer->has_terms_and_conditions_page_id();

Код WC_Shop_Customizer::has_terms_and_conditions_page_id() WC 6.4.1

public function has_terms_and_conditions_page_id() {
	return wc_terms_and_conditions_page_id() > 0;
}