Re: Question for SamBauers about the menu generator function
From what you have it is pretty easy.
Just create two functions that contain the content you want displayed, they need to be named after the third variable in the sub menu function:
... your code ...
echo 'hello admin';
echo 'hello again admin';
Intercepting post data is another matter though. Then you need to add an action to “bb_admin_head” I think.
Check out my existing LDAP authentication plugin for some decent example code.