WordPress at Your Fingertips
function is not described

wc_privacy_policy_page_id() WC 3.4.0

Get the privacy policy page ID.

Hooks from the function
Return

Int.

Usage

wc_privacy_policy_page_id();

Changelog

Since 3.4.0 Introduced.

Code of wc_privacy_policy_page_id() WC 5.6.0

function wc_privacy_policy_page_id() {
	$page_id = get_option( 'wp_page_for_privacy_policy', 0 );
	return apply_filters( 'woocommerce_privacy_policy_page_id', 0 < $page_id ? absint( $page_id ) : 0 );
}