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.