tml_get_action()

Get a TML action object.

Description

mixed tml_get_action( mixed $action )

Get a TML action object.

Parameters

action

The action to get. May be either a string or an action object.

Return Values

Returns the Theme_My_Login_Action object if the action exists or false otherwise.

Examples

Example #1 Getting an action

$action = tml_get_action( 'foo' );