Hello,
the problem with this solution is, that this triggers the update of the post two times:
1. The actual change
2. The wp_update_post()
function to update the title based on an ACF field
As a result, the revisions get two entries each time they are saved. Is there a way to prevent this?
Hi,
thanks for the fast answer. Thats a pity.
Sure it makes sense to prevent an infinite loop. But there should be at least an option to limit the loop instead of completely killing the loop.
Then I have no other choice to do it myself. Thanks again for your answer.