Skip to content

Function

Get the action title.

tml_get_action_title( string|Theme_My_Login_Action $action = '' )

Parameters

$action string|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

VersionDescription
7.0 Introduced.