ASTRA_Ext_WooCommerce_Markup::get_checkout_form_note()

Display Two Step note box.


Description


Return

(void)


Source

File: addons/woocommerce/classes/class-astra-ext-woocommerce-markup.php

		public function get_checkout_form_note() {

			if ( astra_get_option( 'two-step-checkout-modern-note' ) ) {

				$checkout_note = astra_get_option( 'two-step-checkout-modern-note-text' );

				$two_step_note = '';

				$two_step_note .= "<div class='ast-embed-checkout-form-note'>";

				$two_step_note .= '<p>' . wp_kses_post( $checkout_note ) . '</p>';

				$two_step_note .= '</div>';

				echo $two_step_note; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
			}
		}

Changelog

Changelog
Version Description
3.9.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.