Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to remove Occupation & Interest META data?

Hmm … looks like it’s hardcoded in the bb-include/functions.bb-core.php

/meta_key => (required?, Label, hCard property). Don’t use user_{anything} as the name of your meta_key.

function bb_get_profile_info_keys( $context = null ) {

return apply_filters( ‘get_profile_info_keys’, array(

‘first_name’ => array(0, __(‘First name’)),

‘last_name’ => array(0, __(‘Last name’)),

‘display_name’ => array(1, __(‘Display name as’)),

‘user_email’ => array(1, __(‘Email’), ’email’),

‘user_url’ => array(0, __(‘Website’), ‘url’),

‘from’ => array(0, __(‘Location’)),

‘occ’ => array(0, __(‘Occupation’), ‘role’),

‘interest’ => array(0, __(‘Interests’)),

), $context );

}

Anyone know of a good way to remove Occupation and Interests without having to modify the bb-core.php file (to make future upgrading easier)

Skip to toolbar