Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,871
- Creating & Extending
- 25,907
- Requests & Feedback
- 9,550
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,179
-
Please use the code button when sharing code.
You’re using 2 hooks – one passes arguments, one does not – resulting in the warnings.
Therefore you need 2 functions.
But the hook bp_after_activate_content will not expose the user_id value.
Please read the codex article I provided a link to.