Function
Get the action title.
tml_get_action_title( string|Theme_My_Login_Action $action = '' )
Parameters
-
$actionstring|Theme_My_Login_Action Default'' - The action name or object.
Return
string
The action title.
Source
function tml_get_action_title( $action = '' ) {
$action = tml_get_action( $action );
if ( ! $action ) {
return;
}
return $action->get_title();
}
Uses
Used by
Changelog
| Version | Description |
|---|---|
| 7.0 | Introduced. |