WordPress at Your Fingertips
function is not described

WC_Shop_Customizer::has_privacy_policy_page_id() public WC 1.0

Whether or not a page has been chose for the privacy policy.

{} It's a method of the class: WC_Shop_Customizer{}

No Hooks.

Return

true|false.

Usage

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

Code of WC_Shop_Customizer::has_privacy_policy_page_id() WC 5.7.1

public function has_privacy_policy_page_id() {
	return wc_privacy_policy_page_id() > 0;
}