Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

  • msolution
    Participant

    @msolution

    i agree, this is better, thanks 🙂


    msolution
    Participant

    @msolution

    For anyone facing similar issue, this is how i tackled it!

    $my_dept = xprofile_get_field_data( $field_id, get_current_user_id(), 'array' );
    if( empty( $my_dept ) ) {
     $my_dept = $wpdb->get_var( $wpdb->prepare( 'SELECT value FROM '.$wpdb->prefix.'bp_xprofile_data WHERE field_id = %d AND user_id IN ('.get_current_user_id().')', $field_id ) );
     }

    Hope this helps!

    M.


    msolution
    Participant

    @msolution

    Thanks @shanebp ,

    will contact theme dev

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
Skip to toolbar