woocommerce_get_privacy_policy_text filter-hookWC 1.0

Usage

add_filter( 'woocommerce_get_privacy_policy_text', 'wp_kama_woocommerce_get_privacy_policy_text_filter', 10, 2 );

/**
 * Function for `woocommerce_get_privacy_policy_text` filter-hook.
 * 
 * @param  $text 
 * @param  $type 
 *
 * @return 
 */
function wp_kama_woocommerce_get_privacy_policy_text_filter( $text, $type ){

	// filter...
	return $text;
}
$text
-
$type
-

Where the hook is called

wc_get_privacy_policy_text()
woocommerce_get_privacy_policy_text
woocommerce/includes/wc-template-functions.php 869
return trim( apply_filters( 'woocommerce_get_privacy_policy_text', $text, $type ) );

Where the hook is used in WooCommerce

Usage not found.