You are viewing Revision 1 of APIs_UnregSpecialPage

This page is registered as a special page, however you are viewing a previous revision of the page. As such, the special page function will not be triggered.

Subroutine Name

UnregSpecialPage

Syntax

UnregSpecialPage(PageName)

Options

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.

Examples

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.