Reply To: Probleme using BP core functions
Hi ! Thanks for your answer.
Well, I’m a begginer in BP dev so I must have forgot something.
BP is activated, but what do you mean by “Friends component enabled” ? If it means that users can have friends, yes it’s enabled.
When you develop a plugin isn’t there issues of dependencies ? Like, shouldn’t I include some files ? I tried :
require_once(ABSPATH . '/wp-content/plugins/buddypress/bp-friends/bp-friends-functions.php');
require_once(ABSPATH . '/wp-content/plugins/buddypress/bp-friends/bp-friends-classes.php');
But everytime it tells me that an other function is undefined, so I don’t think it’s the right way to do it…