tml_unregister_action()
Unregister a TML action.
Description
void tml_unregister_action( mixed $action )
Unregister a TML action. Default TML actions are added on the init action hook with a priority of 0. In order to remove them, you should use the init hook with a higher priority.
Parameters
action
The action to unregister. May either be the action name or the Theme_My_Login_Action object.
Return Values
No value is returned.
Examples
Example #1 Unregistering an action by name
tml_unregister_action( 'foo' );
Example #2 Unregistering an action using an action object
$action = tml_get_action( 'foo' ); tml_unregister_action( $action );