<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Abhijit Nadgouda @ iface &#187; wordpress global variables</title>
	<atom:link href="http://iface.wordpress.com/category/wordpress-global-variables/feed/" rel="self" type="application/rss+xml" />
	<link>http://iface.wordpress.com</link>
	<description>Software For Business, By Design</description>
	<lastBuildDate>Wed, 17 Jan 2007 13:31:10 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='iface.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/4e30b85fb942280027867fec2f743532?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Abhijit Nadgouda @ iface &#187; wordpress global variables</title>
		<link>http://iface.wordpress.com</link>
	</image>
			<item>
		<title>month</title>
		<link>http://iface.wordpress.com/2006/08/15/month/</link>
		<comments>http://iface.wordpress.com/2006/08/15/month/#comments</comments>
		<pubDate>Tue, 15 Aug 2006 05:13:28 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">https://iface.wordpress.com/2006/08/15/month/</guid>
		<description><![CDATA[Just like weekday, WordPress uses month global variable to store the month names. It is a single dimensional array set in [wordpress root folder/wp-includes/locale.php]. It stores the localized values of the month names.
Plugin and theme developers can access this global variable, however, to retrieve time and date information about posts within a loop the functions [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=263&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Just like <a title="weekday global variable" href="http://iface.wordpress.com/2006/08/08/weekday/">weekday</a>, <a title="WordPress" href="http://www.wordpress.org/">WordPress</a> uses <code>month</code> global variable to store the month names. It is a single dimensional array set in [wordpress root folder/wp-includes/locale.php]. It stores the localized values of the month names.</p>
<p>Plugin and theme developers can access this global variable, however, to retrieve time and date information about posts within a loop the functions mentioned in <a title="weekday global variable" href="http://iface.wordpress.com/2006/08/08/weekday/">weekday</a> can be used.</p>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/month">month</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/263/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/263/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/263/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=263&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/08/15/month/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>weekday_abbrev</title>
		<link>http://iface.wordpress.com/2006/08/10/weekday_abbrev/</link>
		<comments>http://iface.wordpress.com/2006/08/10/weekday_abbrev/#comments</comments>
		<pubDate>Thu, 10 Aug 2006 14:55:38 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">https://iface.wordpress.com/2006/08/10/weekday_abbrev/</guid>
		<description><![CDATA[WordPress stores in the abbreviations of weekday names in weekday_abbrev weekday variable. It is a single dimensional array, indexed by the weekday name and is set in [wordpress root folder]/wp-includes/locale.php. Just like weekday global variable, weekday_abbrev stores localized values.
Plugin and theme developers can use weekday_abbrev to get abbreviation of a specified weekday name.
Back to full [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=257&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a title="WordPress" href="http://www.wordpress.org/">WordPress</a> stores in the abbreviations of weekday names in <code>weekday_abbrev</code> weekday variable. It is a single dimensional array, indexed by the weekday name and is set in [wordpress root folder]/wp-includes/locale.php. Just like <a title="weekday global variable" href="http://iface.wordpress.com/2006/08/08/weekday/">weekday global variable</a>, <code>weekday_abbrev</code> stores <a title="l10n global variable" href="http://iface.wordpress.com/2006/07/05/l10n/">localized</a> values.</p>
<p>Plugin and theme developers can use <code>weekday_abbrev</code> to get abbreviation of a specified weekday name.</p>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/weekday_abbrev">weekday_abbrev</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/257/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/257/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/257/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=257&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/08/10/weekday_abbrev/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>weekday</title>
		<link>http://iface.wordpress.com/2006/08/08/weekday/</link>
		<comments>http://iface.wordpress.com/2006/08/08/weekday/#comments</comments>
		<pubDate>Tue, 08 Aug 2006 11:30:19 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">https://iface.wordpress.com/2006/08/08/weekday/</guid>
		<description><![CDATA[WordPress uses weekday global variable to access, exactly what it says, names of the weekdays. It is a one dimensional array set in the file [wordpress root folder]/wp-includes/locale.php. It stores localized values. Additional global variables like weekday_initial, weekday_abbrev, month, month_abbrev are also defined.
WordPress uses weekday internally. WordPress provides following functions, defined in [wordpress root folder]/wp-includes/template-general-functions.php [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=252&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a title="WordPress" href="http://www.wordpress.org/">WordPress</a> uses <code>weekday</code> global variable to access, exactly what it says, names of the weekdays. It is a one dimensional array set in the file [wordpress root folder]/wp-includes/locale.php. It stores <a title="l10n global variable" href="http://iface.wordpress.com/2006/07/05/l10n/">localized</a> values. Additional global variables like <code>weekday_initial</code>, <code>weekday_abbrev</code>, <code>month</code>, <code>month_abbrev</code> are also defined.</p>
<p>WordPress uses <code>weekday</code> internally. WordPress provides following functions, defined in [wordpress root folder]/wp-includes/template-general-functions.php for use within the loop:</p>
<ul>
<li><a title="the_date template tag" href="http://codex.wordpress.org/Template_Tags/the_date">the_date($format=&#8217; &#8216;, $before=&#8217; &#8216;, $after=&#8217; &#8216;, $echo = true)</a>: access date details of the current post.</li>
<li><a title="the_time template tag" href="http://codex.wordpress.org/Template_Tags/the_date">the_time($format=&#8217; &#8216;)</a>: access time details of the current post.</li>
</ul>
<p>The weekday can be accessed by using the <a title="Formatting Date and Time" href="http://codex.wordpress.org/Formatting_Date_and_Time">format options specified here</a></p>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/weekday">weekday</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/252/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/252/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/252/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=252&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/08/08/weekday/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>monthnum</title>
		<link>http://iface.wordpress.com/2006/08/04/monthnum/</link>
		<comments>http://iface.wordpress.com/2006/08/04/monthnum/#comments</comments>
		<pubDate>Fri, 04 Aug 2006 05:44:54 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">https://iface.wordpress.com/2006/08/04/monthnum/</guid>
		<description><![CDATA[monthnum is a WordPress query string variable that stores the two digit month number. It can be used to retrieve archive of posts posted in a certain month, even across years. When a particular post is being displayed, it contains the month when the post was published.
WordPress uses this global variable internally when the archives [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=248&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><code>monthnum</code> is a <a title="WordPress" href="http://www.wordpress.org/">WordPress</a> query string variable that stores the two digit month number. It can be used to retrieve archive of posts posted in a certain month, even across years. When a particular post is being displayed, it contains the month when the post was published.</p>
<p>WordPress uses this global variable internally when the archives are requested. Plugin and theme developers can use <code>monthnum</code> to access the month requested or for the month of the current post. Day f the current post can be accessed using <a title="day global variable" href="http://iface.wordpress.com/2006/07/31/day/">day</a>.</p>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/monthnum">monthnum</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/248/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/248/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/248/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=248&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/08/04/monthnum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>day</title>
		<link>http://iface.wordpress.com/2006/07/31/day/</link>
		<comments>http://iface.wordpress.com/2006/07/31/day/#comments</comments>
		<pubDate>Mon, 31 Jul 2006 17:48:29 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">https://iface.wordpress.com/2006/07/31/day/</guid>
		<description><![CDATA[day is a WordPress query string variable that can used to request archive of posts published on a certain day, across months and years. day global variable stores day of the current post. It is set in the function setup_postdata($post) defined in [wordpress root folder]/wp-includes/functions.php.
WordPress uses this global variable internally, e.g., to form the HTML [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=243&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><code>day</code> is a <a>WordPress</a> query string variable that can used to request archive of posts published on a certain day, across months and years. <code>day</code> global variable stores day of the current post. It is set in the function <code>setup_postdata($post)</code> defined in [wordpress root folder]/wp-includes/functions.php.</p>
<p>WordPress uses this global variable internally, e.g., to form the <abbr title="HyperText Markup Language">HTML</abbr> title when any archive is requested. Plugin and theme developers can use <code>day</code> to get day of the current post.</p>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/day">day</a>, <a rel="tag" href="http://technorati.com/tag/current+post">current post</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/243/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/243/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/243/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=243&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/07/31/day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>posts</title>
		<link>http://iface.wordpress.com/2006/07/27/posts/</link>
		<comments>http://iface.wordpress.com/2006/07/27/posts/#comments</comments>
		<pubDate>Wed, 26 Jul 2006 19:49:43 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">https://iface.wordpress.com/2006/07/27/posts/</guid>
		<description><![CDATA[The global variable posts stores the results of a WordPress query as a single dimensional array. It is set in the method register_globals() of class WP.
Plugin and theme developers can use this global variable to access results of the query outside the loop.
Back to full list of global variables.
Technorati tags: posts.
     [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=241&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The global variable <code>posts</code> stores the results of a <a title="WordPress" href="http://www.wordpress.org/">WordPress</a> query as a single dimensional array. It is set in the method <code>register_globals()</code> of <a title="WP" href="http://iface.wordpress.com/2006/03/02/wp/">class WP</a>.</p>
<p>Plugin and theme developers can use this global variable to access results of the query outside <a title="WordPress Loop" href="http://codex.wordpress.org/The_Loop">the loop</a>.</p>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/posts">posts</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/241/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/241/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/241/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=241&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/07/27/posts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>more</title>
		<link>http://iface.wordpress.com/2006/07/23/more/</link>
		<comments>http://iface.wordpress.com/2006/07/23/more/#comments</comments>
		<pubDate>Sun, 23 Jul 2006 10:32:02 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">https://iface.wordpress.com/2006/07/23/more/</guid>
		<description><![CDATA[A WordPress post can be forced to have a teaser by inserting the HTML markup &#60;!-- more --&#62; after the desired teaser in the post. WordPress then splits this into the teaser and the main content. When an explicit excerpt for a post is not specified, this teaser is used as an excerpt. more global [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=223&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A <a title="WordPress" href="http://www.wordpress.org/">WordPress</a> post can be <a title="Writing Posts" href="http://codex.wordpress.org/Writing_Posts#Basic_Post_Editing_Screen">forced to have a teaser</a> by inserting the HTML markup <code>&lt;!-- more --&gt;</code> after the desired teaser in the post. WordPress then splits this into the teaser and the main content. When an explicit excerpt for a post is not specified, this teaser is used as an excerpt. <code>more</code> global variable is used to indicate whether the entire page of the post is to be displayed or only the teaser. Teasers can be included in every <a title="pages global variable" href="http://iface.wordpress.com/2006/04/27/pages/">page</a> of the post. It is set in the function <code>setup_postdata($post)</code> defined in [wordpress root folder]/wp-includes/functions.php.</p>
<p>WordPress uses <code>more</code> global variable internally to determine whether only the teaser has to be displayed or the entire page of the post. Whether the teaser has to be displayed when the entire page of the post is displayed or not can also be specified by including the HTML markup <code>&lt;!-- noteaser --&gt;</code> in the post. Plugin and theme developers can use this global variable if a different behavior is desired.</p>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/04/27/pages/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/more">more</a>, <a rel="tag" href="http://technorati.com/tag/teaser">teaser</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/223/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/223/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/223/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=223&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/07/23/more/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>is_winIE or is_macIE</title>
		<link>http://iface.wordpress.com/2006/07/18/is_winie-or-is_macie/</link>
		<comments>http://iface.wordpress.com/2006/07/18/is_winie-or-is_macie/#comments</comments>
		<pubDate>Tue, 18 Jul 2006 07:34:41 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">http://iface.wordpress.com/2006/07/18/is_winie-or-is_macie/</guid>
		<description><![CDATA[WordPress sets is_winIE and is_macIE global variables to identify Microsoft Internet Explorer as part of browser detection in [wordpress root folder]/wp-includes/vars.php. They are set by looking for strings MSIE and Win or Mac in the HTTP_USER_AGENT server variable. It also sets another variable is_IE which is set to true if the browser is Microsoft Internet [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=219&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a title="WordPress" href="http://www.wordpress.org/">WordPress</a> sets <code>is_winIE</code> and <code>is_macIE</code> global variables to identify Microsoft Internet Explorer as part of browser detection in [wordpress root folder]/wp-includes/vars.php. They are set by looking for strings <em>MSIE</em> and <em>Win</em> or <em>Mac</em> in the HTTP_USER_AGENT server variable. It also sets another variable <code>is_IE</code> which is set to true if the browser is Microsoft Internet Explorer on Microsoft Windows or Macs.</p>
<p>Along with these, it also sets the variables <code>is_lynx</code>, <code>is_gecko</code>, <code>is_opera</code> and  <code>is_NS4</code> to identify <a title="Lynx" href="http://lynx.browser.org/">Lynx</a>, <a title="Mozilla's standards based layout engine" href="http://www.mozilla.org/newlayout/">Gecko</a> based browsers, <a title="Opera browser" href="http://www.opera.com/">Opera</a> and Netscape 4.0 respectively.</p>
<p>Plugin and theme authors can use these global variables to identify browsers to handle any browser specific features.</p>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/browser+detection">browser detection</a>, <a rel="tag" href="http://technorati.com/tag/is_winIE">is_winIE</a>, <a rel="tag" href="http://technorati.com/tag/is_macIE">is_macIE</a>, <a rel="tag" href="http://technorati.com/tag/is_IE">is_IE</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/219/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/219/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/219/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=219&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/07/18/is_winie-or-is_macie/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>max_num_pages</title>
		<link>http://iface.wordpress.com/2006/07/16/max_num_pages/</link>
		<comments>http://iface.wordpress.com/2006/07/16/max_num_pages/#comments</comments>
		<pubDate>Sun, 16 Jul 2006 07:00:19 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">http://iface.wordpress.com/2006/07/16/max_num_pages/</guid>
		<description><![CDATA[max_num_pages represents the number of pages when any WordPress archive is displayed. It is set using the posts_per_page global variable. It is calculated and set in the functions next_posts_link($label=&#8217;Next Page »&#8217;, $max_page = 0) and posts_nav_link($sep=&#8217; — &#8216;, $prelabel=&#8217;« Previous Page&#8217;, $nxtlabel=&#8217;Next Page »&#8217;) defined in [wordpress root folder]/wp-includes/template-functions-links.php.
WordPress uses this global variable internally to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=218&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><code>max_num_pages</code> represents the number of pages when any <a title="WordPress" href="http://www.wordpress.org/">WordPress</a> archive is displayed. It is set using the <a>posts_per_page</a> global variable. It is calculated and set in the functions <a title="paged global variable" href="http://iface.wordpress.com/2006/04/01/paged/">next_posts_link($label=&#8217;Next Page »&#8217;, $max_page = 0) and posts_nav_link($sep=&#8217; — &#8216;, $prelabel=&#8217;« Previous Page&#8217;, $nxtlabel=&#8217;Next Page »&#8217;)</a> defined in [wordpress root folder]/wp-includes/template-functions-links.php.</p>
<p>WordPress uses this global variable internally to create the next and previous links for navigation in an archive. Plugin and theme authors need not access this global variable directly.</p>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/max_num_pages">max_num_pages</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/218/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/218/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/218/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=218&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/07/16/max_num_pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>posts_per_page</title>
		<link>http://iface.wordpress.com/2006/07/11/posts_per_page/</link>
		<comments>http://iface.wordpress.com/2006/07/11/posts_per_page/#comments</comments>
		<pubDate>Tue, 11 Jul 2006 08:46:58 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">https://iface.wordpress.com/2006/07/11/posts_per_page/</guid>
		<description><![CDATA[WordPress allows configuration for setting the number of posts to be displayed whenever an index archive (the typical homepage) or other archives like category or monthly archives are displayed. This option can be configured in the Blog Pages field Reading tab under Options menu in the administration User Interface. Note that there is a separate [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=215&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a title="WordPress" href="http://www.wordpress.org/">WordPress</a> allows configuration for setting the number of posts to be displayed whenever an index archive (the typical homepage) or other archives like category or monthly archives are displayed. This option can be configured in the Blog Pages field Reading tab under Options menu in the administration User Interface. Note that there is a separate field for configuration number of posts to be displayed for syndication (feeds).</p>
<p><code>posts_per_page</code> is set in the method <code>get_posts</code> of <a title="wp_query global variable" href="http://iface.wordpress.com/2006/02/25/wp_query/">WP_Query</a>.</p>
<p>Plugin and theme authors need not access this global variable directly. WordPress uses it internally to calculate the number of posts to be displayed.</p>
<p>Since the same setting is used for all archives <a title="Matt's Googly Site" href="http://mattread.com/">Matt Read</a> has developed a <a title="Custom Query String Plugin" href="http://mattread.com/projects/wp-plugins/custom-query-string-plugin/">plugin</a> where posts per page setting can be set for different types of archives, e.g., search, category, home, monthly, yearly, etc.</p>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/posts_per_page">posts_per_page</a>, <a rel="tag" href="http://technorati.com/tag/archives">archives</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/215/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/215/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/215/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=215&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/07/11/posts_per_page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>m</title>
		<link>http://iface.wordpress.com/2006/07/08/m/</link>
		<comments>http://iface.wordpress.com/2006/07/08/m/#comments</comments>
		<pubDate>Sat, 08 Jul 2006 17:25:39 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">https://iface.wordpress.com/2006/07/08/m/</guid>
		<description><![CDATA[m is a WordPress query string variable which can be used to request posts posted at a certain time. It is parsed in the method get_posts() of wp_query.
m allows specifying the time upto the second. Its format is yyyymmddhhmmss, where 

yyyy: year
mm: month number
dd: day of the week
hh: hour
mm: minute
ss: second

In short, m can be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=212&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><code>m</code> is a <a title="WordPress" href="http://www.wordpress.org/">WordPress</a> query string variable which can be used to request posts posted at a certain time. It is parsed in the method <code>get_posts()</code> of <a title="wp_query global variable" href="http://iface.wordpress.com/2006/02/25/wp_query/">wp_query</a>.</p>
<p><code>m</code> allows specifying the time upto the second. Its format is <strong>yyyymmddhhmmss</strong>, where </p>
<ul>
<li>yyyy: year</li>
<li>mm: month number</li>
<li>dd: day of the week</li>
<li>hh: hour</li>
<li>mm: minute</li>
<li>ss: second</li>
</ul>
<p>In short, <code>m</code> can be used to query posts with a specific timestamp. As an example, <a title="Timestamp Query" href="http://iface.wordpress.com/?m=200607031745">http://iface.wordpress.com/?m=200607031745</a> returns the posts posted on 3rd July 2005 @ 17:45. Of course all the fields are not compulsory, you can request the posts posted in July 2005 by using <a title="Timestamp Query" href="http://iface.wordpress.com/?m=200607">http://iface.wordpress.com/?m=200607</a>.</p>
<p>There is some redundancy as other query string variables like year, monthnum, day, hour, minute and second can be achieved to the same effect.</p>
<p>The plugin developers need not access this global variable since this is purely a query string variable.</p>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/timestamp">timestamp</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/212/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/212/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/212/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=212&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/07/08/m/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>l10n</title>
		<link>http://iface.wordpress.com/2006/07/05/l10n/</link>
		<comments>http://iface.wordpress.com/2006/07/05/l10n/#comments</comments>
		<pubDate>Wed, 05 Jul 2006 17:57:41 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">https://iface.wordpress.com/2006/07/05/l10n/</guid>
		<description><![CDATA[WordPress supports Localization using the gettext framework. l10n global variable is used to store all the readers corresponding to the different languages supported. It is set in the function load_textdomain($domain, $mofile) defined in [wordpress root folder]/wp-includes/wp-l10n.php. Following functions are defined which internally use this function:

load_default_textdomain(): loads the default textdomain
load_plugin_textdomain($domain, $path = 'wp-content/plugins'): loads text domain [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=210&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a title="WordPress" href="http://www.wordpress.org/">WordPress</a> supports <a title="localization" href="http://codex.wordpress.org/Localizing_WordPress">Localization</a> using the <a title="gettext framework" href="http://wiki.wordpress.org/WordPressLocalization">gettext framework</a>. <code>l10n</code> global variable is used to store all the readers corresponding to the different languages supported. It is set in the function <code>load_textdomain($domain, $mofile)</code> defined in [wordpress root folder]/wp-includes/wp-l10n.php. Following functions are defined which internally use this function:</p>
<ul>
<li><code>load_default_textdomain()</code>: loads the default textdomain</li>
<li><code>load_plugin_textdomain($domain, $path = 'wp-content/plugins')</code>: loads text domain defined in the plugins</li>
<li><code>load_theme_textdomain($domain)</code>: loads text domain defined in the theme</li>
</ul>
<p>Loading of the text domain involves looking up for corresponding mo file with the same name as the <a title="locale global variable" href="http://iface.wordpress.com/2006/06/30/locale/">locale</a>.</p>
<p>The default domain is loaded using the function <code>load_default_textdomain()</code> in [wordpress root folder]/wp-settings.php.</p>
<p>Plugin or theme developers need not use this global variable directly. WordPress provides <a title="Localization Technology" href="http://codex.wordpress.org/Localizing_WordPress#Localization_Technology">functions to translate text in localized language</a>.</p>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/localization">localization</a>, <a rel="tag" href="http://technorati.com/tag/internationalization">internationalization</a>, <a rel="tag" href="http://technorati.com/tag/l10n">l10n</a>, <a rel="tag" href="http://technorati.com/tag/i18n">i18n</a>, <a rel="tag" href="http://technorati.com/tag/gettext">gettext</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/210/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/210/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/210/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=210&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/07/05/l10n/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>locale</title>
		<link>http://iface.wordpress.com/2006/06/30/locale/</link>
		<comments>http://iface.wordpress.com/2006/06/30/locale/#comments</comments>
		<pubDate>Fri, 30 Jun 2006 15:46:03 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">https://iface.wordpress.com/2006/06/30/locale/</guid>
		<description><![CDATA[WordPress supports internationalization (i18n) and localization (l10n). A locale is indicated by the combination of the language and the region (usually the country). It is represented with ISO codes of the language and countries, e.g., en_US for US Enligsh, en_GB for British English and so on. US English is the default locale. locale global variable [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=208&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a title="WordPress" href="http://www.wordpress.org/">WordPress</a> supports <a title="Localizing WordPress" href="http://codex.wordpress.org/Localizing_WordPress">internationalization (i18n) and localization (l10n)</a>. A locale is indicated by the combination of the language and the region (usually the country). It is represented with <a title="International Organization for Standards" href="http://www.iso.org/">ISO</a> codes of the <a title="ISO standard" href="http://www.iso.org/iso/en/commcentre/news/archives/2002/iso639_1.html">language</a> and <a title="ISO 3166 Code lists" href="http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html">countries</a>, e.g., en_US for US Enligsh, en_GB for British English and so on. US English is the default locale. <code>locale</code> global variable is used to store the current locale. It is set in the function <code>get_locale()</code> defined in [wordpress root folder]/wp-includes/wp-l10n.php.</p>
<p>WordPress uses this global variable internally to load the current locale. If the locale is not set already, it takes the value of <a title="Localizing WordPress" href="http://codex.wordpress.org/Installing_WordPress_in_Your_Language#Localizing_WordPress">WPLANG</a> defined in [wordpress root folder]/wp-config.php. If that is empty it falls back to the default locale which is US English.</p>
<p>Plugin and theme developers need not use this global variable as it is part of the internationalization and localization framework. WordPress provides <a title="Localization Technology" href="http://codex.wordpress.org/Translating_WordPress#Localization_Technology">functions for translation</a>.</p>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/localization">localization</a>, <a rel="tag" href="http://technorati.com/tag/internationalization">internationalization</a>, <a rel="tag" href="http://technorati.com/tag/i18n">i18n</a>, <a rel="tag" href="http://technorati.com/tag/l10n">l10n</a>, <a rel="tag" href="http://technorati.com/tag/locale">locale</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/208/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/208/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/208/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=208&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/06/30/locale/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>is_IIS</title>
		<link>http://iface.wordpress.com/2006/06/26/is_iis/</link>
		<comments>http://iface.wordpress.com/2006/06/26/is_iis/#comments</comments>
		<pubDate>Sun, 25 Jun 2006 20:30:30 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">http://iface.wordpress.com/2006/06/26/is_iis/</guid>
		<description><![CDATA[Like is_apache, is_IIS is part of the web server detection. It is set in [wordpress root folder]/wp-includes/vars.php in the following manner:

$is_IIS=strstr($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS')
           ? 1 : 0;

As mentioned in is_apache, the server variable SERVER_SOFTWARE can be blocked by certain hosts. It can be forcibly set to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=205&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Like <a title="is_apache global variable" href="http://iface.wordpress.com/2006/06/25/is_apache/">is_apache</a>, <code>is_IIS</code> is part of the web server detection. It is set in [wordpress root folder]/wp-includes/vars.php in the following manner:</p>
<pre>
$is_IIS=strstr($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS')
           ? 1 : 0;
</pre>
<p>As mentioned in <a title="is_apache global variable" href="http://iface.wordpress.com/2006/06/25/is_apache/">is_apache</a>, the server variable <code>SERVER_SOFTWARE</code> can be blocked by certain hosts. It can be forcibly set to 1 if WordPress is running on <a title="Microsoft Internet Information Services" href="http://www.microsoft.com/windowsserver2003/iis/default.mspx">Microsoft IIS</a>.</p>
<p>A classic example of using the server detection is the <a title="WordPress - Pluggable Functions And Plugins" href="http://iface.wordpress.com/2006/02/17/wordpress-pluggable-functions-and-plugins/">pluggable function</a> <code>wp_redirect</code> function, which handles the difference between IIS and Apache redirects. Plugin and theme developers should similarly use it for web server specific features.</p>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/is_IIS">is_IIS</a>, <a rel="tag" href="http://technorati.com/tag/IIS">IIS</a>, <a rel="tag" href="http://technorati.com/tag/server+detection">server detection</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/205/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/205/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/205/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=205&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/06/26/is_iis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>is_apache</title>
		<link>http://iface.wordpress.com/2006/06/25/is_apache/</link>
		<comments>http://iface.wordpress.com/2006/06/25/is_apache/#comments</comments>
		<pubDate>Sun, 25 Jun 2006 04:00:52 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">https://iface.wordpress.com/2006/06/25/is_apache/</guid>
		<description><![CDATA[is_apache global variable can be used to detect which webserver WordPress is running on. It is set in [wordpress root folder]/wp-includes/vars.php as part of the server detection code. It is set in the following manner:

$is_apache=(strstr($_SERVER['SERVER_SOFTWARE'], 'Apache') &#124;&#124;
     strstr($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed')) ? 1 : 0;

is_apache is set to 1 (which means true) if [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=203&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><code>is_apache</code> global variable can be used to detect which webserver <a title="WordPress" href="http://www.wordpress.org/">WordPress</a> is running on. It is set in [wordpress root folder]/wp-includes/vars.php as part of the server detection code. It is set in the following manner:</p>
<pre>
$is_apache=(strstr($_SERVER['SERVER_SOFTWARE'], 'Apache') ||
     strstr($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed')) ? 1 : 0;
</pre>
<p><code>is_apache</code> is set to 1 (which means true) if the webserver is either <a title="Apache Webserver" href="http://httpd.apache.org/">Apache</a> or <a title="Litespeed" href="http://litespeedtech.com/">Litespeed</a> (<a title="WordPress.com" href="http://www.wordpress.com">WordPress.com</a>, i.e., even this blog runs on Litespeed today), which means that both of them can be considered to be practically the same. The other webserver that WordPress supports is <a title="Microsoft Internet Information Services" href="http://www.microsoft.com/windowsserver2003/iis/default.mspx">Microsoft IIS</a> which is indicated using the global variable <a title="is_IIS global variable" href="http://iface.wordpress.com/2006/06/26/is_iis/">is_IIS</a>.</p>
<p>It is possible that certain hosts block the server variable <code>SERVER_SOFTWARE</code>, which can cause problems in using permalinks. <code>is_apache</code> global variable can be forcibly set to 1 for an assured Apache/Litespeed webserver as <a title="Fixing Permalink Problems" href="http://codex.wordpress.org/Using_Permalinks#Fixing_Permalink_Problems">advised here</a>.</p>
<p>Plugin and theme developers can use these global variables for any web server specific features. One of the biggest features of WordPress &#8211; <a title="Using Permalinks" href="http://codex.wordpress.org/Using_Permalinks">permalinks</a> &#8211; requires identification of the web server.</p>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/is_apache">is_apache</a>, <a rel="tag" href="http://technorati.com/tag/permalinks">permalinks</a>, <a rel="tag" href="http://technorati.com/tag/apache">apache</a>, <a rel="tag" href="http://technorati.com/tag/litespeed">litespeed</a>, <a rel="tag" href="http://technorati.com/tag/"></a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/203/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/203/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/203/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=203&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/06/25/is_apache/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>post_meta_cache</title>
		<link>http://iface.wordpress.com/2006/06/14/post_meta_cache/</link>
		<comments>http://iface.wordpress.com/2006/06/14/post_meta_cache/#comments</comments>
		<pubDate>Wed, 14 Jun 2006 16:45:56 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">https://iface.wordpress.com/2006/06/14/post_meta_cache/</guid>
		<description><![CDATA[post_meta_cache is one more global variable used for caching as WordPress. It is a multi-dimensional array which stores the custom fields for a post. The custom fields are stored by the post ID and then by the custom field key. Multiple instances of custom fields are allowed.
Plugin and theme developers need not access post_meta_cache directly, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=199&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><code>post_meta_cache</code> is one more global variable used for caching as <a title="WordPress" href="http://www.wordpress.org/">WordPress</a>. It is a multi-dimensional array which stores the <a title="Using Custom Fields" href="http://codex.wordpress.org/Using_Custom_Fields">custom fields</a> for a post. The custom fields are stored by the post ID and then by the custom field key. Multiple instances of custom fields are allowed.</p>
<p>Plugin and theme developers need not access <code>post_meta_cache</code> directly, it is used by WordPress internally in the following internal and template functions.</p>
<h3>Internal Functions</h3>
<ul>
<li><code>add_post_meta($post_id, $key, $value, $unique = false)</code>: adds custom field with specified key and value to the specified post. If <code>unique</code> is true, another custom field with duplicate key is not added. This can be used by developers who are developing plugins for the the admin area, especially for adding more information to the post structure.</li>
<li><code>delete_post_meta($post_id, $key, $value)</code>: deletes the custom field with specified key and value from the specified post.</li>
<li><code>get_post_meta($post_id, $key, $single = false)</code>: returns custom field value for specified key for the specified post.</li>
<li><code>update_post_meta($post_id, $key, $value, $prev_value = '')</code>: updates the custom field value for specified key in the specified post.</li>
<li><code></code></li>
</ul>
<h3>Template Functions</h3>
<ul>
<li><code>get_post_custom($post_id = 0)</code>: returns all the custom fields for specified post as an array. If post ID is not specified, current post is considered.</li>
<li><code>get_post_custom_keys()</code>: returns keys of all the custom fields for specified post as an array</li>
<li><code>get_post_custom_values($key = '')</code>: returns all values of the specified custom fields key for specified post as an array</li>
<li><code>post_custom($key = '')</code>: returns all the custom fields with specified key for the current post.</li>
<li><code>the_meta()</code>: displays all the custom fields of the current post as a unordered list.</li>
</ul>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/post_meta_cache">post_meta_cache</a>, <a rel="tag" href="http://technorati.com/tag/custom+fields">custom fields</a>, <a rel="tag" href="http://technorati.com/tag/post+meta">post meta</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/199/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/199/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/199/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=199&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/06/14/post_meta_cache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>wp_filter</title>
		<link>http://iface.wordpress.com/2006/06/08/wp_filter/</link>
		<comments>http://iface.wordpress.com/2006/06/08/wp_filter/#comments</comments>
		<pubDate>Thu, 08 Jun 2006 16:00:18 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">https://iface.wordpress.com/2006/06/08/wp_filter/</guid>
		<description><![CDATA[WordPress provides a facility of hooks. They can be used by plugin and theme developers can modify custom behavior at different points in WordPress. Mark Jaquith has compiled a directory of hooks provided by WordPress.
Actions and filters are two different types of hooks, they are semnatically different but syntactically the same. These filters and actions [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=195&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a title="WordPress" href="http://www.wordpress.org/">WordPress</a> provides a facility of <a title="Hooks, Actions and Filters" href="http://codex.wordpress.org/Plugin_API#Hooks.2C_Actions_and_Filters">hooks</a>. They can be used by plugin and theme developers can modify custom behavior at different points in WordPress. <a title="Tempus Fugit" href="http://txfx.net/">Mark Jaquith</a> has compiled a <a title="" href="http://wphooks.flatearth.org/">directory of hooks</a> provided by WordPress.</p>
<p><a title="Filters v/s Actions" href="http://wphooks.flatearth.org/filter-vs-action/">Actions and filters</a> are two different types of hooks, they are semnatically different but syntactically the same. These filters and actions are stored in the <code>wp_filter</code> global variable. It is set using <code>add_filter($tag, $function_to_add, $priority = 10, $accepted_args = 1)</code> function defined in [wordpress root folder]/wp-includes/functions.php.</p>
<p>WordPress adds certain default actions and filters, most of which are done in [wordpress root folder]/wp-includes/default-filters.php. Function <a title="do_action template tag" href="http://codex.wordpress.org/Function_Reference/do_action">do_action($tag, $arg = &#8221;)</a> is used internally by WordPress to invoke the different registered filters and actions.</p>
<p>Plugin and theme developers can define custom functions and add them as filters or actions using the following functions provided by WordPress:</p>
<ul>
<li><code>add_filter($tag, $function_to_add, $priority = 10, $accepted_args = 1)</code>: to register filters</li>
<li><a title="add_action template tag" href="http://codex.wordpress.org/Function_Reference/add_action">add_action($tag, $function_to_add, $priority = 10, $accepted_args = 1)</a>: to register actions</li>
<li><code>remove_filter($tag, $function_to_remove, $priority = 10, $accepted_args = 1)</code>: to remove filters</li>
<li><code>remove_action($tag, $function_to_remove, $priority = 10, $accepted_args = 1)</code>: to remove actions</li>
</ul>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/wp_filter">wp_filter</a>, <a rel="tag" href="http://technorati.com/tag/hooks">hooks</a>, <a rel="tag" href="http://technorati.com/tag/actions">actions</a>, <a rel="tag" href="http://technorati.com/tag/filters">filters</a>, <a rel="tag" href="http://technorati.com/tag/add_action">add_action</a>, <a rel="tag" href="http://technorati.com/tag/add_filter">add_filter</a>, <a rel="tag" href="http://technorati.com/tag/remove_action">remove_action</a>, <a rel="tag" href="http://technorati.com/tag/remove_filter">remove_filter</a>, <a rel="tag" href="http://technorati.com/tag/do_action">do_action</a> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/195/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/195/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/195/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=195&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/06/08/wp_filter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>wp_db_version</title>
		<link>http://iface.wordpress.com/2006/06/05/wp_version-2/</link>
		<comments>http://iface.wordpress.com/2006/06/05/wp_version-2/#comments</comments>
		<pubDate>Mon, 05 Jun 2006 04:18:05 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">https://iface.wordpress.com/2006/06/05/wp_version-2/</guid>
		<description><![CDATA[WordPress stores version of the MySQL database currently being used in the wp_db_version global variable. Like wp_version, it is set in [wordpress root folder]/wp-includes/version.php.
Plugin and theme developers can use this variable to check for their features specific to a database version.
Back to full list of global variables.
Technorati tags: wp_db_version
       [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=193&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a title="WordPress" href="http://www.wordpress.org/">WordPress</a> stores version of the <a title="MySQL" href="http://www.mysql.com/">MySQL</a> database currently being used in the <code>wp_db_version</code> global variable. Like <a title="wp_version global variable" href="http://iface.wordpress.com/2006/03/04/wp_version/">wp_version</a>, it is set in [wordpress root folder]/wp-includes/version.php.</p>
<p>Plugin and theme developers can use this variable to check for their features specific to a database version.</p>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/version">wp_db_version</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/193/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/193/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/193/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=193&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/06/05/wp_version-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>richedit</title>
		<link>http://iface.wordpress.com/2006/05/31/richedit/</link>
		<comments>http://iface.wordpress.com/2006/05/31/richedit/#comments</comments>
		<pubDate>Wed, 31 May 2006 04:25:30 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">https://iface.wordpress.com/2006/05/31/richedit/</guid>
		<description><![CDATA[This global variable indicates whether the current user wants to use rich editing interface (by default using TinyMCE) for creating/editing posts and comments. Since WordPress 2.0, the option of rich editing is set per user, which can be accessed by using the checkbox, &#8220;Use the visual rich editor when writing&#8221;, in Admin Panel-&#62;Users-&#62;Your Profile.
richedit is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=191&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This global variable indicates whether the current user wants to use rich editing interface (by default using TinyMCE) for creating/editing posts and comments. Since <a title="WordPress" href="http://www.wordpress.org/">WordPress</a> 2.0, the option of rich editing is set per user, which can be accessed by using the checkbox, &#8220;Use the visual rich editor when writing&#8221;, in Admin Panel-&gt;Users-&gt;Your Profile.</p>
<p><code>richedit</code> is set in the functions <code>get_post_to_edit($id)</code> and <code>get_comment_to_edit($id)</code> in the [wordpress-root-folder]/wp-admin/admin-functions.php. It is set using the function <code>get_user_option('rich_editing')</code>.</p>
<p>WordPress defines an additional function <code>user_can_richedit</code> which, in addition to checking this option, checks whether the browser supports rich editing or not. Plugin developers can use this function, when using the global variable directly it should not noted that unlike lot of others, this global variable is defined as part of the admin functions.</p>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/richedit">richedit</a>, <a rel="tag" href="http://technorati.com/tag/user+options">user options</a>, <a rel="tag" href="http://technorati.com/tag/rich_editing">rich_editing</a>, <a rel="tag" href="http://technorati.com/tag/wysiwyg+editor">wysiwyg editor</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/191/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/191/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/191/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=191&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/05/31/richedit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>page_cache</title>
		<link>http://iface.wordpress.com/2006/05/27/page_cache/</link>
		<comments>http://iface.wordpress.com/2006/05/27/page_cache/#comments</comments>
		<pubDate>Sat, 27 May 2006 12:14:49 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">https://iface.wordpress.com/2006/05/27/page_cache/</guid>
		<description><![CDATA[WordPress uses page_cache global variable to cache static pages by their ID. Caching can notably improve performance by retrieving data from memory and avoiding repeated queries to the database. It is an array set in the function update_page_cache(&#38;$pages) defined in [wordpress root folder]/wp-includes/functions.php.
WordPress uses page_cache internally in the functions to retrieve pages:

get_pages($args = ''): retrieves [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=188&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a title="'WordPress" href="http://www.wordpress.org/">WordPress</a> uses <code>page_cache</code> global variable to cache static pages by their ID. Caching can notably improve performance by retrieving data from memory and avoiding repeated queries to the database. It is an array set in the function <code>update_page_cache(&amp;$pages)</code> defined in [wordpress root folder]/wp-includes/functions.php.</p>
<p>WordPress uses <code>page_cache</code> internally in the functions to retrieve pages:</p>
<ul>
<li><code>get_pages($args = '')</code>: retrieves the static pages according to the arguments provided. Following arguments are supported:
<ul>
<li><code>child_of</code>: if specified, the function retrieves the children of specified page ID.</li>
<li><code>sort_column</code>: attribute of the page that should be used for sorting, which is implemented as column name in the <code>wp_posts</code> table in the database.</li>
<li><code>sort_order</code>: order for sorting, currently supports ASC and DESC.</li>
<li><code>exclude</code>: includes IDs of pages that should be excluded from the retrieval.</li>
</ul>
</li>
<li><code>get_page_children($page_id, $pages)</code>: retrieves child pages of the specified page. If <code>$pages</code> argument is empty, <code>$page_cache</code> global variable is used.</li>
</ul>
<p>Plugin and theme developers can use <code>page_cache</code> to write custom functions which involve retrieving page data.</p>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/page_cache">page_cache</a>, <a rel="tag" href="http://technorati.com/tag/pages">pages</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/188/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/188/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/188/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=188&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/05/27/page_cache/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>numpages</title>
		<link>http://iface.wordpress.com/2006/05/24/numpages/</link>
		<comments>http://iface.wordpress.com/2006/05/24/numpages/#comments</comments>
		<pubDate>Wed, 24 May 2006 09:31:09 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">https://iface.wordpress.com/2006/05/24/numpages/</guid>
		<description><![CDATA[WordPress uses numpages global variable to store the number of pages in a multipage post. It is set in the function setup_postdata($post) defined in [wordpress root folder]/wp-includes/functions.php. The split pages are stored in the global variable pages.
Theme developers can use numpages global variable to display the count of split pages in a multipage post.
Back to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=186&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a title="WordPress" href="http://www.wordpress.org/">WordPress</a> uses <code>numpages</code> global variable to store the number of pages in a <a title="multipage global variable" href="http://iface.wordpress.com/2006/04/25/multipage/">multipage</a> post. It is set in the function <code>setup_postdata($post)</code> defined in [wordpress root folder]/wp-includes/functions.php. The split pages are stored in the global variable <a title="pages global variable" href="http://iface.wordpress.com/2006/04/27/pages/">pages</a>.</p>
<p>Theme developers can use <code>numpages</code> global variable to display the count of split pages in a multipage post.</p>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/pages">pages</a>, <a rel="tag" href="http://technorati.com/tag/multipage">multipage</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/186/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/186/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/186/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=186&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/05/24/numpages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>post_cache</title>
		<link>http://iface.wordpress.com/2006/05/17/post_cache/</link>
		<comments>http://iface.wordpress.com/2006/05/17/post_cache/#comments</comments>
		<pubDate>Wed, 17 May 2006 14:11:02 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">https://iface.wordpress.com/2006/05/17/post_cache/</guid>
		<description><![CDATA[Just like category_cache, WordPress uses post_cache global variable to cache all the posts by their IDs. It is set in the function update_post_caches($posts) defined in [wordpress root folder]/wp-includes/functions.php. post_cache is an array and indexes post by the post ID. WordPress provides function clean_post_cache($id) to cleanup or unset the post for the specified ID.
post_cache is internally [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=182&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Just like <a title="category_cache global variable" href="http://iface.wordpress.com/2006/05/11/category_cache/">category_cache</a>, <a title="WordPress" href="http://www.wordpress.org/">WordPress</a> uses <code>post_cache</code> global variable to cache all the posts by their IDs. It is set in the function <code>update_post_caches($posts)</code> defined in [wordpress root folder]/wp-includes/functions.php. <code>post_cache</code> is an array and indexes post by the post ID. WordPress provides function <code>clean_post_cache($id)</code> to cleanup or unset the post for the specified ID.</p>
<p><code>post_cache</code> is internally used by WordPress in following functions:</p>
<ul>
<li><code>get_posts($args)</code>: <a title="Template tags - get_posts" href="http://codex.wordpress.org/Template_Tags/get_posts">codex document</a></li>
<li><code>get_children($post = 0, $output = OBJECT)</code>: returns child posts of the specified post. If not post is specified, children of current post are returned. This is specifically useful when retrieving heirarchical static pages.</li>
</ul>
<p>Plugin and theme developers can use the cache when retrieving the entire posts or individual fields. They can also use <code>update_post_caches($posts)</code> to update the cache. This function also updates the category cache using <a title="category_cache global variable" href="http://iface.wordpress.com/2006/05/11/category_cache/">update_post_category_cache($post_ids)</a>.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/post_cache">post_cache</a>, <a rel="tag" href="http://technorati.com/tag/cache">cache</a>, <a rel="tag" href="http://technorati.com/tag/post">post</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/182/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/182/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/182/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=182&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/05/17/post_cache/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>category_cache</title>
		<link>http://iface.wordpress.com/2006/05/11/category_cache/</link>
		<comments>http://iface.wordpress.com/2006/05/11/category_cache/#comments</comments>
		<pubDate>Thu, 11 May 2006 16:29:36 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">https://iface.wordpress.com/2006/05/11/category_cache/</guid>
		<description><![CDATA[WordPress uses category_cache global variable to cache categories by posts. This means that it can be queried for categories by providing the post ID. It is a two-dimensional array set in the function update_post_category_cache($post_ids) defined in [wordpress root folder]/wp-includes/functions.php.
The cache can improve performance by saving repeated trips to the database for querying the same data.
WordPress [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=178&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a title="WordPress" href="http://www.wordpress.org/">WordPress</a> uses <code>category_cache</code> global variable to cache categories by posts. This means that it can be queried for categories by providing the post ID. It is a two-dimensional array set in the function <code>update_post_category_cache($post_ids)</code> defined in [wordpress root folder]/wp-includes/functions.php.</p>
<p>The cache can improve performance by saving repeated trips to the database for querying the same data.</p>
<p>WordPress uses <code>category_cache</code> internally in the following functions:</p>
<ul>
<li><code>get_the_category($post_id = false)</code>: returns categories the specified post is classified under. An array of the categories is returned.</li>
<li><code>in_category($category)</code>: tells whether the current post is in the specified category or not.</li>
</ul>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/category_cache">category_cache</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/178/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/178/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/178/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=178&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/05/11/category_cache/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>pagenow</title>
		<link>http://iface.wordpress.com/2006/05/07/pagenow/</link>
		<comments>http://iface.wordpress.com/2006/05/07/pagenow/#comments</comments>
		<pubDate>Sun, 07 May 2006 18:05:57 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">https://iface.wordpress.com/2006/05/07/pagenow/</guid>
		<description><![CDATA[WordPress uses this global variable to store the current PHP file being executed, e.g., post.php or edit.php. It is set in [wordpress root folder]/wp-includes/vars.php, which is included in [wordpress root folder/wp-includes/settings.php.
pagenow is used to identify the current action being executed. Ideally, plugin and theme developers need not use this global variable, it is used internally [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=173&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a title="WordPress" href="http://www.wordpress.org/">WordPress</a> uses this global variable to store the current PHP file being executed, e.g., post.php or edit.php. It is set in [wordpress root folder]/wp-includes/vars.php, which is included in [wordpress root folder/wp-includes/settings.php.</p>
<p><code>pagenow</code> is used to identify the current action being executed. Ideally, plugin and theme developers need not use this global variable, it is used internally by WordPress. <a title="Conditional Tags" href="http://codex.wordpress.org/Conditional_Tags">Conditional Tags</a> should be used to identify the current <a title="Template Hierarchy" href="http://codex.wordpress.org/Template_Hierarchy">template file</a>.</p>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/pagenow">pagenow</a>, <a rel="tag" href="http://technorati.com/tag/current+action">current action</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/173/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/173/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/173/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=173&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/05/07/pagenow/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
		<item>
		<title>page</title>
		<link>http://iface.wordpress.com/2006/05/03/page/</link>
		<comments>http://iface.wordpress.com/2006/05/03/page/#comments</comments>
		<pubDate>Wed, 03 May 2006 11:36:18 +0000</pubDate>
		<dc:creator>Abhijit Nadgouda</dc:creator>
				<category><![CDATA[wordpress global variables]]></category>

		<guid isPermaLink="false">https://iface.wordpress.com/2006/05/03/page/</guid>
		<description><![CDATA[This global variable stores the requested page number of a multipage post that has to be shown. It is set in the function setup_postdata($post) defined in [wordpress root folder]/wp-includes/functions.php. The variable page in the WordPress request (query string) is used to set this global variable. The multipage content of the post is stored in the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=167&subd=iface&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This global variable stores the requested page number of a multipage post that has to be shown. It is set in the function <code>setup_postdata($post)</code> defined in [wordpress root folder]/wp-includes/functions.php. The variable <code>page</code> in the <a title="WordPress" href="http://www.wordpress.org/">WordPress</a> request (<a title="wp_query global variable" href="http://iface.wordpress.com/2006/02/25/wp_query/">query string</a>) is used to set this global variable. The multipage content of the post is stored in the global variable <a title="pages global variable" href="http://iface.wordpress.com/2006/04/27/pages/">pages</a>.</p>
<p><code>page</code> does not indicate the page number of a paginated archive, it is used only for a multipage post.</p>
<p>Plugin and theme developers can use this variable to identify the requested page number of the current post being displayed.</p>
<p><a title="WordPress Global Variables" href="http://iface.wordpress.com/2006/02/25/wordpress-global-variables/">Back</a> to full list of global variables.</p>
<p>Technorati tags: <a rel="tag" href="http://technorati.com/tag/page">page</a>, <a rel="tag" href="http://technorati.com/tag/current+page">current page</a>, <a rel="tag" href="http://technorati.com/tag/pages">pages</a>, <a rel="tag" href="http://technorati.com/tag/multipage">multipage</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/iface.wordpress.com/167/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/iface.wordpress.com/167/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iface.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iface.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iface.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iface.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iface.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iface.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iface.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iface.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iface.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iface.wordpress.com/167/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iface.wordpress.com&blog=84518&post=167&subd=iface&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://iface.wordpress.com/2006/05/03/page/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/231c2bf1a0f151ea6892c61523c47476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iface</media:title>
		</media:content>
	</item>
	</channel>
</rss>