Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: ’BP_Group_Extension’ not found when using Group Extension API in bp-custom.php

@r-a-y

Keymaster

@notpoppy – You have the right idea that your code is loading before BuddyPress and you are also correct to have read the Checking if BuddyPress is active codex article.

Now, you just need to connect the dots!

1. Create a new folder (eg. /my-bp-plugin/).
2. Copy and paste the contents of what you wrote above into a new file (eg. /my-bp-plugin/my-bp-plugin.php).
3. Now, copy and paste the contents of the codex article into a new file (eg. /my-bp-plugin/loader.php) into the folder you just created. Make sure to change the file path and name to the ones you created above as well as the meta data at the top of the file.
4. You should now have a folder with two files. Move this folder into the /wp-content/plugins/ directory, navigate to the WP admin dashboard and activate the plugin!

If you have any other questions, let me know.

Skip to toolbar