Skip to content

Instantly share code, notes, and snippets.

View muhammad-naderi's full-sized avatar

Muhammad Naderi muhammad-naderi

View GitHub Profile
<?php
$sign_in_form_id = 6;
add_action( 'gform_after_submission_' . $sign_in_form_id , 'mu_remove_form_entry' );
/**
* Prevents Gravity Form entries from being stored in the database
* for a specific form. with $sign_in_form_id Id.
*
* @global object $wpdb The WP database object.