Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Question for SamBauers about the menu generator function


Sam Bauers
Participant

@sambauers

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 ...

function myplugin()
{
echo 'hello admin';
}

function myplugin_two()
{
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.

Skip to toolbar