[wp-hackers] possible to get next postid before publish?

William P. Davis will.davis at gmail.com
Sat Dec 17 16:14:11 UTC 2011


Post IDs are generated when you hit new post, so you can add a meta box showing the current post ID without problem. 

Will
------Original Message------
From: fris
Sender: wp-hackers-bounces at lists.automattic.com
To: wp-hackers at lists.automattic.com
ReplyTo: wp-hackers at lists.automattic.com
Subject: [wp-hackers] possible to get next postid before publish?
Sent: Dec 17, 2011 11:12 AM

Is it possible to get the next post id before update,save or publish.

Example, add new post, and you show the post id in a metabox without any
saving, updating, or publishing.

Curious if anyone has done this before?



_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


Sent from my BlackBerry® wireless device


More information about the wp-hackers mailing list