Editing version 1 of page APIs_UnregAdminPage (this is the most recent revision)
Note: This page is defined as a special page, and as such its final state may be different from what you see here.
Use template:
None
API_Template
DevTrack_Template
Version_Template
==Subroutine Name
**UnregAdminPage**
==Explanation and Usage
This subroutine is used to remove an item from the administrative menu, and unregister its associated subroutine. This function could be used to remove certain menu items from the administrative menu.
==Syntax
**`UnregAdminPage(Name)`**
==Options
**Name** - This is the name of the menu item you want to remove. Note that it is not the "description" but the short name assigned. As an example, if a page was registered using:
**`RegAdminPage('myadminfunc', "My administrative menu option", \&MyAdminFunction);`**
Then you would unregister it using 'myadminfunc' as the name:
**`UnregAdminPage('myadminfunc');`**
==Examples
This function is not called in the Aneuch source anywhere, however this is being provided as an example for plugin developers.
**`UnregAdminPage('myadminfunc');`**\\This will unregister the admin page 'myadminfunc', and remove it's menu item from the administrative menu.
This page is a template
Summary:
User name:
Upload a file
By contributing to this wiki, you acknowledge that you waive your right to claim copyright of your individual contributions. The text of this site is uncopyrighted and released to the public domain.
Show markup help Styling **bold **, //italic //, __underline __, --strikethrough--, `teletype ` Headers = Level 1 =, == Level 2 ==, === Level 3 ===, ==== Level 4 ====, ===== Level 5 ===== (ending ='s optional) Lists * Unordered List, # Ordered List, ** Level 2 unordered, ### Level 3 ordered (up to 5 levels, NO SPACES IN FRONT) Links [[Page]], [[Page|description]], [[http://link]], [[http://link|description]] Images {{image.jpg}}, {{right:image.jpg}} (right aligned), [[link|{{image.jpg}}]] (image linked to link), {{image.jpg|alt text}} Extras ---- (horizonal rule), ~~~~ (signature)