How disable posts auto saving using WordPress hook ?


WordPress have a very useful function that autosaves your posts while you’re typing them in the dashboard. Though, if for some reason you’d like to disable this function, it is very easy to do. Just read on!


To disable WordPress autosaving function, simply open your functions.php file and paste the following function:

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

Save files.

Enjoy Code!

Advertisements

Sr. Software Engineer

Tagged with: ,
Posted in Wordpress
9 comments on “How disable posts auto saving using WordPress hook ?
  1. really informative post, i am truly happy to post my comment on your blog. i’m glad that you shared this helpful info with us.

  2. I have been exploring for a bit for any high-quality articles or weblog posts on this sort of house .
    Exploring in Yahoo I finally stumbled upon this web site.
    Studying this information So i’m glad to show that I’ve a very
    just right uncanny feeling I discovered exactly what I needed.
    I such a lot for sure will make sure to don?t omit this web
    site and give it a look on a relentless
    basis.

  3. It appears like good put up, on the other hand it just 1 side of the medal. Good reading anyhow, I often appreciated excellent brain teaser and solid amount of wonderful information.

  4. this post was really awesome, congratulations and thank you very much for sharing it with us. lista de email lista de email lista de email lista de email lista de email

  5. Lakeisha says:

    la voyancе de qualité , J’ai aussi un internet site

  6. Voyance says:

    I hardly leaνe a response, but i did a few seɑrching
    and wound up here Hoоѡ disable ρosts ajto ѕaving using WordPress
    hook ? | Raghunath Gurjar. Anԁ I do have ѕome questіons for you if yyou dο not mind.
    Is it just mme or does it looƙ like some of the
    responses appear like they aree written by brain dead visitorѕ?
    😛 And, if you are posting att other online social sites, I’d like to follow anything fresh you
    have tօ post. Woսld you list of every one of your social pagеs
    like you Facebook ƿaɡe, twitter feed, or linkediո profile?

  7. voyance says:

    Hello! This iѕ my fiгѕt comment hеrе so I
    just wanted to give a quicқ shout out and tell you I genuinelу enjoy гeading youг
    articles. Can you sugɡest any otheг blоgs/websites/forums that deal
    with the same topics? Many thanкs!

  8. voyance says:

    Hi there, I found your site by way of Google while searching for a related subject,
    your site got here up, it seems great. I have bookmarked it
    in my google bookmarks.
    Hi there, simply turned into aware of your blog through Google, and found that it’s
    truly informative. I’m gonna be careful for brussels.

    I’ll appreciate should you continue this in future. A lot of other folks will be benefited
    from your writing. Cheers!

  9. voyance says:

    Wow that was strange. I just wrote an really long comment but after I
    clicked submit my comment didn’t show up. Grrrr…
    well I’m not writing all that over again. Anyhow, just wanted
    to say excellent blog!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: