Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,887
- Creating & Extending
- 25,913
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,404
- Miscellaneous
- 9,183
-
Thank you for your answer @shanebp !
Now I’m little bit lost when should I use bp_activity_add function? The moment the user adds youtube URL and selects category the code should be something like this?
if ($_POST['select_name'] === 'category_name') {
$activity_id = bp_activity_add( $args );
}