How to add menu only if a condition?
Posted: Mon May 22, 2023 5:08 am
I want to add menu only if a condition is met and not with the inbuilt userlevel security feature.
for instance
if( // userhaspaid==1){
// show the menu link
}
else{// hide the menu link }