ifacethoughts

pagenow

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 by WordPress. Conditional Tags should be used to identify the current template file.

Back to full list of global variables.

Technorati tags: ,

Discussion [Participate or Link]

  1. Abhijit Nadgouda @ iface » Blog Archive » Wordpress Global Variables said:

    [...] $pagenow [...]

  2. references» Blog Archive » Wordpress Global Variables said:

    [...] $pagenow [...]

  3. WordPress Global Variables | iFansClub said:

    [...] $pagenow [...]

  4. Abhijit Nadgouda’s List of WordPress Global Variables « Lorelle on WordPress said:

    [...] Variables: wp_filter, richedit, page_cache, pagenow, wp_version, table_prefix,wp,admin_page_hooks, wp_object_cache, allowedposttags, allowedtags, and [...]

Say your thought!

If you want to use HTML you can use these tags: <a>, <em>, <strong>, <abbr>, <code>, <blockquote>. Closing the tags will be appreciated as this site uses valid XHTML.

freshthoughts

contactme

Abhijit Nadgouda
iface Consulting
India
+91 9819820312
My bookmarks

badgesand...

This is the weblog of Abhijit Nadgouda where he writes down his thoughts on software development and related topics. You are invited to subscribe to the feed to stay updated or check out more subscription options. Or you can choose to browse by one of the topics.