woocommerce_get_terms_and_conditions_checkbox_text filter-hookWC 1.0

translators: %s terms and conditions page name and link

Usage

add_filter( 'woocommerce_get_terms_and_conditions_checkbox_text', 'wp_kama_woocommerce_get_terms_and_conditions_checkbox_text_filter' );

/**
 * Function for `woocommerce_get_terms_and_conditions_checkbox_text` filter-hook.
 * 
 * @param  $option 
 *
 * @return 
 */
function wp_kama_woocommerce_get_terms_and_conditions_checkbox_text_filter( $option ){

	// filter...
	return $option;
}
$option
-

Where the hook is called

wc_get_terms_and_conditions_checkbox_text()
woocommerce_get_terms_and_conditions_checkbox_text
woocommerce/includes/wc-template-functions.php 833
return trim( apply_filters( 'woocommerce_get_terms_and_conditions_checkbox_text', get_option( 'woocommerce_checkout_terms_and_conditions_checkbox_text', sprintf( __( 'I have read and agree to the website %s', 'woocommerce' ), '[terms]' ) ) ) );

Where the hook is used in WooCommerce

Usage not found.