The MU forums have moved to

how to include wpmu-functions.php ? (1 post)

  1. inertia
    Posted 18 years ago #

    So i've created a separate file called members.php. I want it to show list of all blogs on my host. I get this error when I call it

    Fatal error: Call to undefined function: add_action() in
    /home/blabla/public_html/xxx.xx/wp-inst/wp-includes/wpmu-functions.php on line 15

    I've included wmpu-functions.php with this line:

    include '../../../wp-includes/wpmu-functions.php';

    What am I doing wrong? Thanks in advance.

About this Topic

  • Started 18 years ago by inertia