/** * Prevent coupons being added to the Form Settings menu list. * * @param array $tabs Contains the properties for each tab: name, label and query. * @param integer $form_id The ID of the current form. * * @return array */ public function add_form_settings_menu($tabs, $form_id) { if ($this->_slug != 'gravityformscoupons') { return parent::add_form_settings_menu($tabs, $form_id); } else { return $tabs; } }