[wp-hackers] Post Id Question
Kimmo Suominen
kim at tac.nyc.ny.us
Mon Apr 4 15:14:33 GMT 2005
global $id;
The setup_postdata() function in wp-includes/functions.php is a good
reference.
Regards,
+ Kim
--
<A HREF="http://kimmo.suominen.com/">Kimmo Suominen</A>
On Mon, Apr 04, 2005 at 11:03:19AM -0400, Bill Smith wrote:
> I have a filter for "the_content". Inside the filter function, I need
> the post id. What is the best way to obtain it?
>
> TIA,
> Bill
More information about the wp-hackers
mailing list