Probleme using BP core functions
Hello everyone !
I’m currently developping a plugin on BP(2.0). The plugin has to remove inactive members from users friends list. When I’m trying to get the friends list of each user, I use friends_get_friend_count_for_user() function and I get this error:
Fatal error: Call to undefined function friends_get_friend_count_for_user() in /***/***/***/***/wp-content/plugins/myPlugin/myPlugin.php on line 51
What do I have to do to use BP core functions ?
Thanks in advance
You must be logged in to reply to this topic.