Post title gets overwritten
-
I’m using the following code to update a post via a gravity form:
<?php $id = get_the_id(); echo do_shortcode('[gravityform id="4" title="false" description="false" update="'.$id.'"]'); ?>
On updating the form my ACF fields are updated but the standard WordPress title gets changed to “Update_1”, if I update again it just changes to “Update_2” and so on.
The CPT post already had a title, as soon as I updated it just changes to the above.
All plugins and core are running the latest as of this point.
https://www.ads-software.com/plugins/gravity-forms-post-updates/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Post title gets overwritten’ is closed to new replies.