Looking at core, it seems post_category always overwrites:
// Passed post category list overwrites existing category list if not empty.
Instead, try something like:
//wp_set_post_terms( $post_id, $terms, $taxonomy, $append )
wp_set_post_terms( $entry["post_id"], 48, $taxonomy, true )
Obviously, replace $taxonomy with the correct name.
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]
- 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
- My Gravity forms creates a Woocommerce order but I want to exclude a certain form
- 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
- Set cookie using GET variable
- Custom function to rearrange attachments when creating posts – Almost there
- Best way to create multi-step form with data saved to user account for later updating?
- Gravity Forms loading jquery
- Endless loop with wp_insert_post and wp_update_post
- Redirect to post after submission with Gravity Forms? [closed]
- Change Default wp_mail From, Without Affecting Gravity Forms
- What does wp_update_post() do that the $wpdb class does not?
- How can I bulk update all posts without making changes?
- Gravity Forms: Create fields programmatically
- Gravity Forms field entries into wp_query loop [closed]
- Simple Online Payment for Event Registration [closed]
- Add sequential number to a Gravityforms form
- Adding auto-complete to custom gravity field not working
- Updating posts exceeds maximum execution time
- How retreive saved data from gravity forms in my template?
- Frontend form with multiple posts
- Use Gravity Forms and a Shopping Cart for output to Freshbooks for an Estimate [closed]
- Autopopulate a value
- Cannot update newly added User field using wp_update_user
- How to use third-party SendGrid Email Validation API in Gravity Forms?
- wp_trash_post() duplicates post to trash
- Update all WordPress posts’s title and content then display them in a table
- add ‘publish metabox’ to Gravity forms edit page/form area
- Post meta data not showing in frontend, until hitting ‘update’ button
- Attaching an upload to a user
- Gravity Forms on submit return value on same page
- Custom Post save causes 500 error
- wp_update_post behaves differently for different user role
- Update user from external script
- Gravity Forms Post method [closed]
- Save post to category with gravity forms (post_data) [closed]
- Transparent Overlay for Gravity Forms Ajax Spinner
- Bulk post approval and publishing doesn’t work