Orion42 Blog

~IT made easy~

How to add_submenu_page() passing a $variable (parameter=value) with called function

Since in WordPress you cannot pass directly a parameter into the callback function called by the add_submenu_page, I have figured out another simple way to do it. My problem was to pass a simple parameter into a sub-menu page, something…

Skip to content