Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,881
- Creating & Extending
- 25,910
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,184
-
I copy it into bp-custom.php:
Fatal error: Call to undefined function xprofile_set_field_data() in bp-custom.php
In my functions.php I used action, still do not work:
function oi_bp_actions_and_filters() {
xprofile_set_field_data('user_status', 39, 'spam');
add_action('bp_init', 'oi_bp_actions_and_filters');