woocommerce_checkout_terms_and_conditions

woocommerce_checkout_terms_and_conditions

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

do_action('woocommerce_checkout_terms_and_conditions') is found 1 times:

  • /templates/checkout/terms.php line 24
    		 * @since 3.4.0.
    		 * @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' );
    		?>
    
    		<?php if ( wc_terms_and_conditions_checkbox_enabled() ) : ?>
    			<p class="form-row validate-required">
    				<label class="woocommerce-form__label woocommerce-form__label-for-checkbox checkbox">
    				<input type="checkbox" class="woocommerce-form__input woocommerce-form__input-checkbox input-checkbox" name="terms" <?php checked( apply_filters( 'woocommerce_terms_is_checked_default', isset( $_POST&#91;'terms'&#93; ) ), true ); // WPCS: input var ok, csrf ok. ?> id="terms" />
    

See this hook used in plugins: