'; $content .= esc_html__( 'This is a preview of the latest saved revision of your form. If this preview does not match your form, save your changes and then refresh this page. This form preview is not publicly accessible.', 'wpforms-lite' ); if ( ! empty( $links ) ) { $content .= ''; $content .= ''; foreach ( $links as $key => $link ) { $content .= '' . $link['text'] . ''; $l = array_keys( $links ); if ( end( $l ) !== $key ) { $content .= ' | '; } } $content .= ''; } $content .= '
'; $content .= sprintf( wp_kses( /* translators: %s - WPForms doc link. */ __( 'For form testing tips, check out our complete guide!', 'wpforms-lite' ), [ 'a' => [ 'href' => [], 'target' => [], 'rel' => [], ], ] ), esc_url( wpforms_utm_link( 'https://wpforms.com/docs/how-to-properly-test-your-wordpress-forms-before-launching-checklist/', 'Form Preview', 'Form Testing Tips Documentation' ) ) ); $content .= '