You are viewing Revision 1 of APIs_UnregSpecialPage
UnregSpecialPage
UnregSpecialPage(PageName)
PageName - This will be the name of the page you wish to unregister. If the page name was previously registered, Aneuch will unregister it, and no longer call the subroutine associated with the page when it is loaded.
This function is not called in the Aneuch source anywhere, however this is being provided as an example for plugin developers.
UnregSpecialPage('RecentChanges');
This will unregister the page 'RecentChanges', which by default is set to call DoRecentChanges every time the page is loaded. If you use this command in your plugin, then every time someone visits the page RecentChanges, they will not actually see the list of recent changes to the site.