get_by_id( $form_id ); if ( ! $form ) { wp_die( esc_html__( 'Form not found.', 'airy-frontend-forms' ) ); } // Handle error message. // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reading GET parameter to display error message $error_message = isset( $_GET['error'] ) ? sanitize_text_field( wp_unslash( $_GET['error'] ) ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended ?>

[affcf_form id=""]