Disable auto-save and post revisions from inside a theme or plugin

Question

Per default, the way to disable autosaving and post revisions, is to modify wp-config.php. Is there a way, to do that from within a plugin or a themes functions.php?

0
, T.Todua 2 years 2020-01-06T08:39:14-05:00 0 Answers 79 views 0

Leave an answer

Browse
Browse