Osclass Support Forums
Osclass theme support => Zara Osclass Responsive Theme => Topic started by: san37 on April 18, 2016, 07:43:22 PM
-
Where to find the function osc_private_user_menu ?
Need to rename the names
Example:
function get_user_menu() {
$options = array();
$options[] = array(
'name' => __('Public Profile'),
'url' => osc_user_public_profile_url(),
'class' => 'opt_publicprofile'
);
$options[] = array(
'name' => __('Listings', 'bender'),
'url' => osc_user_list_items_url(),
'class' => 'opt_items'
);
$options[] = array(
'name' => __('Alerts', 'bender'),
'url' => osc_user_alerts_url(),
'class' => 'opt_alerts'
);
$options[] = array(
'name' => __('Account', 'bender'),
'url' => osc_user_profile_url(),
'class' => 'opt_account'
);
$options[] = array(
'name' => __('Change email', 'bender'),
'url' => osc_change_user_email_url(),
'class' => 'opt_change_email'
);
$options[] = array(
'name' => __('Change username', 'bender'),
'url' => osc_change_user_username_url(),
'class' => 'opt_change_username'
);
$options[] = array(
'name' => __('Change password', 'bender'),
'url' => osc_change_user_password_url(),
'class' => 'opt_change_password'
);
$options[] = array(
'name' => __('Delete account', 'bender'),
'url' => '#',
'class' => 'opt_delete_account'
);
return $options;
}
}
-
@san37
It it is somewhere in osclass core.
-
It would be great for me to know too. I have searched in the core without success.
-
@chris
It can be in osclass functions as well as theme functions.php, I recommend to change strings via translation files.
-
thanx !