WC_Shop_Customizer::has_terms_and_conditions_page_id
Whether or not a page has been chose for the terms and conditions.
Method of the class: WC_Shop_Customizer{}
No Hooks.
Returns
true|false.
Usage
$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 Shop Customizer::has terms and conditions page id code WC 10.5.0
public function has_terms_and_conditions_page_id() {
return wc_terms_and_conditions_page_id() > 0;
}