Skip to content

Function

Get the login type.

tml_get_login_type( )

Return

string The login type.

Source

function tml_get_login_type() {
    $login_type = get_site_option( 'tml_login_type', 'default' );

    /**
     * Filter the login type.
     *
     * @since 7.0
     *
     * @param string $login_type The login type.
     */
    return apply_filters( 'tml_get_login_type', $login_type );
}

Uses

Used by

Changelog

VersionDescription
7.0 Introduced.