woocommerce_get_terms_and_conditions_checkbox_text

woocommerce_get_terms_and_conditions_checkbox_text

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_get_terms_and_conditions_checkbox_text') is found 1 times:

  • /includes/wc-template-functions.php line 845
     * @return string
     */
    function wc_get_terms_and_conditions_checkbox_text() {
    	/* translators: %s terms and conditions page name and link */
    	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]' ) ) ) );
    }
    
    /**
     * Get the privacy policy text, if set.
     *
     * @since 3.4.0