when naming inPageTabs with variables, how can I use content_pageslug(){}
-
I’m hoping to create a few inPageTabs from a list, in which the tag slugs come from variables.
Is there a good way, from within a
content_pageslug() {}
method, to figure out the name of the current tab so I can render the correct content?(I’d have to use eval() to declare a
content_pageslug_tabslug()
function, but I obvs don’t want to do that.)Or is this a misbegotten idea I should abandon?
Thanks for a great framework!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘when naming inPageTabs with variables, how can I use content_pageslug(){}’ is closed to new replies.