[wp-hackers] Post Id Question
Ryan Duff
ryan at ryanduff.net
Mon Apr 4 15:14:40 GMT 2005
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?
$post_id = the_ID();
http://codex.wordpress.org/Template_Tags/the_ID
--
Ryan Duff
http://ryanduff.net
AIM: ryancduff
irc.freenode.net #wordpress
--
---------------------[ Ciphire Signature ]----------------------
From: ryan at ryanduff.net signed email body (245 characters)
Date: on 04 April 2005 at 15:13:14 UTC
To: wp-hackers at lists.automattic.com
----------------------------------------------------------------
: Ciphire has secured this email against identity theft.
: Free download at www.ciphire.com. The garbled lines
: below are the sender's verifiable digital signature.
----------------------------------------------------------------
00fAAAAAEAAACKWVFC9QAAAOgCAAIAAgACACDBOH6mJX2/crgCO6ViTWgVThygA6
O2vwAfX+YVbDCxtwEAtg6EI500RkvYwVZgGBlNY4BdpZ0ICYi1yOnvP+g/19wYMd
p86s96Os9VhLnblAiCwD8TZRhKCaTQD0Kv+owiKQ==
------------------[ End Ciphire Signed Message ]----------------
More information about the wp-hackers
mailing list