Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action('save_post', 'save_details');
- function save_details(){
- global $post;
- if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) {
- return $post_id;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement