Created
September 27, 2012 04:22
-
-
Save rambuvn/3792134 to your computer and use it in GitHub Desktop.
Check auto save for wordpress save_post action
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// check autosave | |
if ( (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) || ( defined('DOING_AJAX') && DOING_AJAX) || isset($_REQUEST['bulk_edit']) ) return $post_id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment