Changing Action Titles

If you would like to change the title of an action, you may do so by first using the tml_get_action() function, and then settings the properties appropriately. For instance, let's say you wanted to change "Log In" to "Sign In":

function modify_tml_actions( $action, $action_obj ) {
	if ( 'login' == $action ) {
		// This changes the page title
		$action_obj->set_title( 'Sign In' );

		// This changes the link text shown on other forms. Use any string value
		// to set the text directly, `true` to use the action title, or `false`
		// to hide.
		$action_obj->show_on_forms = true;
	}
}
add_action( 'tml_registered_action', 'modify_tml_actions', 10, 2 );