Hi all,
Trying to modify wp-admin with the sidebar from my theme. Everything works except when I want to call things like get_option and is_user_logged_in() from WP-Admin.
What file do I need to include to make these work?
TIA,
bigdoug
Hi all,
Trying to modify wp-admin with the sidebar from my theme. Everything works except when I want to call things like get_option and is_user_logged_in() from WP-Admin.
What file do I need to include to make these work?
TIA,
bigdoug
wp-includes/functions.php and wp-includes/pluggable.php, but I'd have thought they'd be included already.
Maybe include /wp-blog-header.php, which seems to include... just about everything.
TIP: do a global search for "function get_option" to find out where a function is defined.
beau