From 7df513769d19049c6769e4e28ff184372b9075c5 Mon Sep 17 00:00:00 2001 From: Isaac Lubow Date: Tue, 5 Jun 2018 05:35:37 -0700 Subject: [PATCH] Update terms.php (#20376) Edited comment to reflect the name of the function that is actually hooked. --- templates/checkout/terms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/checkout/terms.php b/templates/checkout/terms.php index 744e9a9d14e..cca6c52b08f 100644 --- a/templates/checkout/terms.php +++ b/templates/checkout/terms.php @@ -18,7 +18,7 @@ if ( apply_filters( 'woocommerce_checkout_show_terms', true ) && function_exists * Terms and conditions hook used to inject content. * * @since 3.4.0. - * @hooked wc_privacy_policy_text() Shows custom privacy policy text. Priority 20. + * @hooked wc_checkout_privacy_policy_text() Shows custom privacy policy text. Priority 20. * @hooked wc_terms_and_conditions_page_content() Shows t&c page content. Priority 30. */ do_action( 'woocommerce_checkout_terms_and_conditions' );