I am making user meta fields. I have to implement a field named
business_profile and implement editor on it. I have implemented the editor but I can't seem to either save its value or retrieve it. Below is my code.
<tr> <th> <label for="address">Business Profile</label></th> <td><?php $content = get_the_author_meta('business_profile', $user->ID); $editor_id = 'mycustomeditor'; wp_editor($content, $editor_id); ?> </td> </tr>
And for update:
update_usermeta($user_id, 'business_profile', $_POST['business_profile']);
Where am I wrong?