Skip to content

Instantly share code, notes, and snippets.

Avatar

Soft-Designs Soft-Designs

View GitHub Profile
View gist:9102bb788634156a3eb25402d68d0795
//
//TICKET = https://premium.wpmudev.org/forums/topic/forminator-email-validation
//
add_action( 'wp_footer', function() {
global $post;
if ( ! $post instanceof WP_Post || ! has_shortcode( $post->post_content, 'forminator_form' ) ) {
return;
}
?>
<script type="text/javascript">
View gist:f114c90795eddee826d0343d562dc8f6
<?php
add_action(
'wp_footer',
function() {
?>