Matthew (@kidsguide)

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • @kidsguide

    Participant

    What is the link to put there.

    'href' => site_url(' <strong>LINK HERE</strong> '),

    @kidsguide

    Participant

    This is what I have so far

    add_action( 'wp_before_admin_bar_render', 'my_tweaked_admin_bar' ); 
    
    function my_tweaked_admin_bar() {
        global $wp_admin_bar;
    
        $wp_admin_bar->remove_menu('edit-profile');
    
        $wp_admin_bar->add_menu( array(
                'id'    => 'edit-profile',
                'title' => 'Edit My Profile',
                'href'  => site_url(''),
                'parent'=>'user-actions'
            ));
    }
    
Viewing 2 replies - 1 through 2 (of 2 total)