Try this :
add_action( 'gform_after_submission', 'gravity_form_submitted', 10, 2 );
function gravity_form_submitted($entry, $form)
{
if($form['id'] != "exclude_form_id")//if multiple you can check not in array
{
//your order generation code
}
}
Related Posts:
- gravity forms : use previous dropdown choice as variable in gform_pre_render? [closed]
- Gravity form to submit to third party application
- outlook calendar event from form post [closed]
- Update post using gravity forms 2019 solution
- Gravity forms – Can I have multiple custom spinners? [closed]
- gform_after_submission add list of form titles after the post content [closed]
- How to make entries of Gravity Forms available in the public front-end? [closed]
- Creating custom array keys on gravity forms entry
- Pre-populate Gravity Forms Field with Custom Post Type
- gravity forms file upload field
- Form Object Gravity Forms [closed]
- Restricting product quantity field to numbers only in Gravity Forms
- Why does using conditional logic in gravity forms break the form when placed using php
- Gravity Forms Webhooks [closed]
- Is there a way to display poll question results in Gravity forms before submitting the form?
- Populate email field is wp-signup.php
- Submit a Gravity Form as other user [closed]
- magnific popup + gravity form query string not passing
- How to get the total donations made by a user – Gravity Forms? [closed]
- Gravity form multi-select issue on ios [closed]
- Pass MD5 value to prepopulate field
- Gravity Forms Upload each entry to Unique Folders
- Passing data from after_submission action to the confirmation filter in gravity forms?
- Gravity Forms redirect based on conditions
- Multi-image upload doesn’t work [closed]
- Gravity forms and wp_update_post [closed]
- Value of Query string [closed]
- Gravity Forms non-empty Total field values not submitted [closed]
- Pass created post id from gform_after_submission action to gform_confirmation filter?
- Gravity Forms: tracking form [closed]
- Gravity Forum Custom Field Check box attribution
- Gravity Forms custom Field entry
- How to add custom input via PHP into every Gravity Form? [closed]
- Getting values in gform_confirmation for Gravity Forms [closed]
- Is there a way to call on just the content of a Page without actually using that Page? [closed]
- Gravity Forms, how to link form to amember pro signup [closed]
- Gravity Forms data to SOAP Service says Could not connect to host
- gravity form merge multiple records with the same id
- gravityforms chart
- Gravity Form Repeater File/Media Upload Not Working
- Gravity Form – notification if some values not match
- Gravity Forms Multiple Dates Filled by 1st Date
- WordPress – Gravityforms https:// is not a valid url
- Add (populate) multiple dynamic fields trough a url query
- Am i doing something wrong by getting plugins from github repos?
- Update post’s custom fields after workflow step approved or rejected in gravity flow
- Problem with Gravity Forms – multistep form
- Fill drop-down box with other text field entries
- Gravity Forms and regex – Doesn’t seem to validate
- Foreach loop through Gravity Forms entries
- Gravity form Multiple receiver with different message
- Use gform_pre_render / Google distance Matrix to calculate distance on page 2 of form based on input on page1
- Gravity Forms – RMA Count
- Gravity Forms + Post Fields + Divi Load From Library
- Gravity Forms Create Variable For Users Without Pre-existing Entries
- Paypal not converting currency when using Gravity Forms on WordPress
- gform_pre_render Dropdown populated with roles [closed]
- Gravity Forms field ID $entry not working
- Gravity Forms ExactTarget Add-on Plugin: Nothing happens after step 2 when creating a new feed [closed]
- Prevent threading in emails from gravity forms [closed]
- GravityForms inside Gantry4 won’t display [closed]
- Gravity Forms: Limit entries by number of times of a certain field value and date
- Restricting text field to numbers only in Gravity Forms [closed]
- How do I add custom fields to Gravity Forms? [closed]
- How to call post update addon after payment in payment gateway gravity form plugin?
- How to deactivate gravityforms WordPress plugin
- Function to call the attachment image from post
- Gravity Forms skip form if already filled out using cookie?
- Displaying Gravity Form data on WordPress page [closed]
- Change gravity forms confirmation redirect query string to include entry id [closed]
- Unset a Cookie on Successful Gravity Forms form Submission [closed]
- user activation email doesn’t work
- where should I reset query after using get_results?
- gravity forms jQuery.load into modal [closed]
- How can I use a gravity form to send an e-card?
- Keyword checking in Gravity Forms
- Gravity form built in Captcha
- Get Gravity Forms field values and count how many? [closed]
- How do I limit the number of forms a user can create in gravity forms?
- How do I add pricing fields to a Gravity Form? [closed]
- Gravity forms how to display list of submitters on the post submitted page [closed]
- PHP -> SQL Query with Summing
- ACF and Gravity Form file upload frontend [closed]
- Gravity Forms merge tags in templates?
- Page for logged in user to Edit/Delete their own content?
- Gravity Forms | Form Object is NULL [closed]
- How to change image’s author via a function when using GravityForms uploader? [closed]
- Adding a Custom Field to be used by Posts 2 Posts
- how to resubmit a submitted form with gravity forms plugin
- Gravity Forms – Custom Merge Tag Convert date_created to Local/WordPress Time?
- Store GravityForm data in phpmyadmin (mysql)
- Manipulate the files uploaded via Gravity Forms before they are stored
- Gravit Forms Notification send after 3rd party API response
- Populate a drop down list with post titles across a multisite network
- Authenticating custom field on login
- AJAX Call in Plugin Returns More than JSON
- Gravity prerender taxonomy [closed]
- Return one of user’s post from a category in user’s profile
- SQL get last entry of a specific gravity form
- Sending GravityForms to custom HTML