Is there a way to temporarily disable revisions.... I have noticed that wp_update_post is very slow and creates revisions I don't need.
The fix could be to disable revisions before issuing wp_update_post and re-enable the feature once done....
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
|||
|
|
|
Seems this will do the job:
and
|
|||
|
|
|
Easiest way is to set |
|||
|
|