woocommerce_terms_and_conditions_page_id filter-hookWC 3.4.0

Get the terms and conditions page ID.

Usage

add_filter( 'woocommerce_terms_and_conditions_page_id', 'wp_kama_woocommerce_terms_and_conditions_page_id_filter' );

/**
 * Function for `woocommerce_terms_and_conditions_page_id` filter-hook.
 * 
 * @param  $absint() 
 *
 * @return 
 */
function wp_kama_woocommerce_terms_and_conditions_page_id_filter( $absint() ){

	// filter...
	return $absint();
}
$absint()
-

Changelog

Since 3.4.0 Introduced.

Where the hook is called

wc_terms_and_conditions_page_id()
woocommerce_terms_and_conditions_page_id
woocommerce/includes/wc-template-functions.php 799
return apply_filters( 'woocommerce_terms_and_conditions_page_id', 0 < $page_id ? absint( $page_id ) : 0 );

Where the hook is used in WooCommerce

Usage not found.