[wp-hackers] Check If I'm in a Feed?

Peter Westwood peter.westwood at ftwr.co.uk
Thu Mar 22 15:34:45 GMT 2007


On Thu, March 22, 2007 3:31 pm, Computer Guru wrote:
> Is there any quick function that let's me check if I'm in a feed without
> me
> parsing REQUEST_URI?
>
> Something like is_home() or something...
>

is_feed() [1]

westi

[1] http://trac.wordpress.org/browser/trunk/wp-includes/query.php#L107
-- 
Peter Westwood <peter.westwood at ftwr.co.uk>
http://blog.ftwr.co.uk


More information about the wp-hackers mailing list