Advertisement
Guest User

Untitled

a guest
Apr 28th, 2013
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.25 KB | None | 0 0
  1. <?php
  2. add_filter("gform_disable_notification", "disable_notification", 10, 4);
  3.  
  4. function disable_notification($is_disabled, $notification, $form, $entry){
  5.  
  6.     if($form["id"] != "2"){
  7.         return true;
  8.     }
  9.  
  10.     return $is_disabled;
  11. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement