0 && apply_filters( 'woocommerce_checkout_show_terms', true ) ) : $terms = get_post( $terms_page_id ); $terms_content = has_shortcode( $terms->post_content, 'woocommerce_checkout' ) ? '' : wc_format_content( $terms->post_content ); if ( $terms_content ) { do_action( 'woocommerce_checkout_before_terms_and_conditions' ); echo ''; } ?>