Osclass Support Forums

Osclass theme support => Zara Osclass Responsive Theme => Topic started by: san37 on April 18, 2016, 07:43:22 PM

Title: User menu
Post 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;
        }
    }
Title: Re: User menu
Post by: MB Themes on April 19, 2016, 04:14:16 PM
@san37
It it is somewhere in osclass core.
Title: Re: User menu
Post by: chris on December 17, 2020, 09:51:32 PM
It would be great for me to know too. I have searched in the core without success.
Title: Re: User menu
Post by: MB Themes on December 18, 2020, 02:43:34 PM
@chris
It can be in osclass functions as well as theme functions.php, I recommend to change strings via translation files.
Title: Re: User menu
Post by: chris on January 13, 2021, 09:31:33 AM
thanx !