Jump to content

User Homepage Panels Order


jeffuk

Recommended Posts

I wanted to move the Recent Support Tickets right down to the bottom so I added a hook which seems to only work but not all user accounts?

add_hook('ClientAreaHomepagePanels', 1, function (Item $homePagePanels)
{
    $homePagePanels->getChild("Recent Support Tickets")
        ->setOrder(50); 
	
});

Example below, the order has worked on user.png but it has not worked on user1.png --

The order should be:

1. Unpaid invoices
2. Active Services 
3. Support tickets
4. Custom Banner 

Any tips?

user1.png

user.png

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated