The MU forums have moved to

template tags from WP-admin (2 posts)

  1. bigdoug
    Posted 16 years ago #

    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?


  2. beaulebens
    Posted 16 years ago #

    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.


About this Topic

  • Started 16 years ago by bigdoug
  • Latest reply from beaulebens