Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: How to change Extended Profile Status to SPAM programatically?

@jessy-marco

Participant

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');
Skip to toolbar