id ); // we need to allow scripts here for javascript in the success message echo $message; // WPCS: XSS ok. } } if ( isset( $errors ) && is_array( $errors ) && ! empty( $errors ) ) { if ( isset( $form ) && is_object( $form ) ) { FrmFormsHelper::get_scroll_js( $form->id ); } ?>
'; } } FrmFormsHelper::show_errors( compact( 'img', 'errors', 'form' ) ); ?>