• Resolved sharetom

    (@sharetom)


    Firstly, I would like to thank you for this fantastic plugin.

    As several of us are making changes to the same listings, the autosave feature is causing an issue. I tried to disable it directly in my wp-config.php file, but it persists. Is it possible to add a snippet to resolve the situation?

    This is the code that added in my wp-config.php:
    function disable_autosave() {
    wp_deregister_script(‘autosave’);
    }
    add_action(‘wp_print_scripts’, ‘disable_autosave’);

    • This topic was modified 2 years, 6 months ago by sharetom.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @sharetom

    You can add this snippet to your theme functions.php instead.
    It will work.

    Regards

    Plugin Author Paolo

    (@paoltaia)

    @sharetom, Naveen meant the same snippet you mentioned:

    function disable_autosave() {
    wp_deregister_script('autosave');
    }
    add_action('wp_print_scripts', 'disable_autosave');

    Make sure you are not addingcurly quotes like in the snippet you pasted above.

    Let us know if that solved the issue for you.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Autosave feature is causing an issue’ is closed to new replies.