Skip to content

Function

Get the installed TML version.

tml_get_installed_version( )

Return

string|bool The installed TML version.

Source

function tml_get_installed_version() {
    $options = get_option( 'theme_my_login' );
    if ( $options ) {
        if ( isset( $options['version'] ) ) {
            return $options['version'];
        }
    }
    return get_site_option( '_tml_version' );
}

Uses

Used by

Changelog

VersionDescription
7.0 Introduced.