I’ve read this on codex and seem some themes use it but never understood how it worked.
(string) $hookname
used internally to track menu page callbacks for outputting the page inside theglobal $menu
array
I can’t seem to understand the codex’s explanation. Can some one enlighten me on how can we use the return value and what are the uses of it?
One important use is enqueue script / style only on specific plugin/admin pages.
This is one use I know.
Hope code is self-explanatory.
Have fun!