Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37670

Re: Retrieve submenu items from navigation

$
0
0
by Andrew Normore.  

I believe they are stored in the $PAGE global variable.

Inside your function, try this

function whatever() {


global $PAGE;

var_dump($PAGE);

var_dump($PAGE->navigation);


}


Viewing all articles
Browse latest Browse all 37670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>