WordPress at Your Fingertips
function is not described

wc_terms_and_conditions_page_id() WC 3.4.0

Get the terms and conditons page ID.

Return

Int.

Usage

wc_terms_and_conditions_page_id();

Changelog

Since 3.4.0 Introduced.

Code of wc_terms_and_conditions_page_id() WC 5.6.0

function wc_terms_and_conditions_page_id() {
	$page_id = wc_get_page_id( 'terms' );
	return apply_filters( 'woocommerce_terms_and_conditions_page_id', 0 < $page_id ? absint( $page_id ) : 0 );
}