This will remove a previously defined command and unregister its associated subroutine.
Name - This is the name of the action you want to remove. As an example, if an action was registered using:
Then you would unregister it using:
This function is not called in the Aneuch source anywhere, however this is being provided as an example for plugin developers.
This would unregister the command 'mycommand'. Any further requests to Aneuch via "?do=mycommand" would no longer execute the associated subroutine, and would instead redirect you to a page titled 'mycommand'.