Well here goes, did some searching, and couldn't come up with anything.
I have successfully installed the modfiyHeaderLinks.php plugin.
My goal is to filter what links are shown in the left header based upon user privileges level.
If the user is an Admin I want to show some links (Like to Google Analytics etc etc).
Else if the user is logged in I want to show some other links.
and setup like that it should ONLY display header links if there is a user that is an Admin, or if a user is logged in, and nothing if there is no user logged in.
This is some of the code (which doesn't work)... I've had limited success (none)
// add links at the end
$postLinks = '';
if (@$CURRENT_USER['isAdmin'] == 'true') {
$postLinks .= "<a href='https://www.google.com/analytics/settings/'>Google Analytics</a>";}
elseif (@$CURRENT_USER) {
$postLinks .= "<a href='https://www.domain.com/orderhistory/'>Order History</a>";}
Where am I going wrong. I'm trying to check/compare if the $CURRENT_USER isAdmin value is set to true then it'll show the admin links.
Rusty