I found a workaround, in this forum – This did the trick:
[https://wordpress.stackexchange.com/questions/225760/update-is-always-true-in-save-post][1]
It’s still hit multiple times, but it’s working.
Related Posts:
- trigger save_post event programmatically
- Wp_update_post: Infinite loop even with remove_action solution, OOP
- Is it possible to save/modify a post without calling the “save_post” action hook?
- Returning ACF custom field from publish_post
- How to check what kind of saving it is?
- How to catch and modify custom field values when a page is updated
- Conditional for autosave or auto draft?
- save_post hook to add terms getting deleted when using bulk edit
- ‘save_post’ hook not working in WP 3.5
- Add action save post when create and publish
- remove_action(‘save_post’) in function that was triggered by save post not working
- set_post_format called after wp_update_post when using bulk edit?
- WordPress save_post hook not firing when checking if _GET[‘post’] is set
- How do I set a custom post type Category after import using wp_set_post_terms
- Show admin notice if metabox field is empty during save post
- update ACF field when saving post on back office
- How many times can I hook into the same action?
- Is there a hook before the user is authenticated?
- switch_to_blog(): Load textdomain
- Can I hook inside another hook?
- Adding function directly vs using hook in function.php
- How can I send to multiple Contact Form 7 recipients based on form input? [closed]
- What is the action hook for save media-form on gallery tab?
- Check if action hook exists before adding actions to it
- Disallow a user to post in certain categories
- Post-Registration, post-meta hook?
- Get updated meta data after save_post hook
- Removing action added from constructor
- after login that will redirect user role into a page
- Create hooks based on an array of hook names?
- Access post meta just after publishing
- update post meta using user_register hook not working
- how to create endpoint for downloading pdf files?
- hook to get (and change) the search string before processing
- Is there a recover_post hook to go with trash_post hook?
- How to override languages files in wp-content/languages/themes with child theme
- hooks & filters and variables
- How to increase password requirements for registration [closed]
- Can user_register output the password?
- Run add_action hook if condition
- Gutenberg gallery hook errors
- How to change title attribute returned by comments_popup_link()?
- How to use do_action_ref_array?
- Problem using role_has_cap hook
- How to find hooks as per Just-In-Time approach?
- WordPress action and filter hooks runs asynchronously?
- Prevent attachment from being deleted
- Update post meta using pending_to_publish hook
- Is it possible to change image urls by hooks?
- register_activation_hook not updating
- PHP header() gives headers already sent
- Send along login credentials with comment content
- How to replace a function using a child theme?
- How to pass argument to wp_footer hook with data from a template
- Redirecting from login
- How to use a 3rd party library to send emails?
- I would like to send a notification email (Asana) whenever something is published (posts, pages, custom post types) [duplicate]
- Woocommerce table is missing a heading–can I add it by use of a hook?
- Use a variable created in get_header to calculate stuff in wp_footer
- register_deactivation_hook argument -> pass arguments in the selected function
- Alternative to new_to_publish Hook for Custom Statuses
- Force file download in WordPress
- How to use pre_get_posts
- hooks for automatic approve user registration according to data in custom fields
- How to render an element, that was saved as a template, using a hook?
- How to use embed_content hook?
- Notify admin when Custom post meta data gets updated or deletet
- WP Cron not executing after timespan
- Action hook with wrapper html
- How can I edit comment meta value before it is saved?
- call php file from form and use wp functions
- wp_insert_post hook for a wordpress plugin
- WordPress add_action the_post hook
- add_action hook for links.php page
- save_post trigerred twice
- Session management issues with WordPRess 404 Error page
- Template_redirect works, but headers aren’t sent when checking via cURL
- template_redirect hooks redirect wrong URL
- Add a Call to Action Button to WordPress Post Thumbnail
- What hook can you use to get the full response?
- Easy Digital Downloads – How to use hooks correctly?
- Updating a related post’s “post_modified” value
- Get Category in save_post Hook
- adding wordpress yoast SEO canonical url from “transition_post_status” hook
- Cookie cant be read even cookie is present
- How to create callback function which returns all posts with specific data?
- How to trigger click events using hooks
- remove_action() hook not working
- Why the post ID is 0 in a hook within wp_insert_post_data?
- How to work with hooks and Posts to posts plugin?
- template_redirect and title
- When is get_currentuserinfo() needed?
- disable publish button until condition is not met
- How do I remove an action hook by s2member
- How do I change TinyMCE button “i” to create a i tag rather than em? [duplicate]
- Why callback function is not working in wp_head hook?
- Get category of post inside save_post hook
- woocommerce_add_to_cart_validation max quantity depending on user geoip [closed]
- theme.json is altering Group block HTML
- Not able to set userId and email at wp_set_current_user in Worpdress