[wp-hackers] $pagenow in WP 3.0 ?
Frank Bueltge
frank at bueltge.de
Mon Feb 1 12:44:48 UTC 2010
Hello guys,
before i use the var $pagenow for ask who i am in backend and add
additional features only on this site.
Now on WP 3.0-alpha has the var not all sites: example: before use
edit page the $pagenow: age.php or page-new.php and now is this also
on post.php
My example:
$page_pages = array('page-new.php', 'page.php');
if ( in_array( $pagenow, $page_pages ) )
I will add features to admin_head hook and mybe you have a new workflow for me?
Thanks for your help.
Frank
More information about the wp-hackers
mailing list