Skip to content

Function

Get the registration type.

tml_get_registration_type( )

Return

string The registration type.

Source

function tml_get_registration_type() {
    $registration_type = get_site_option( 'tml_registration_type', 'default' );

    /**
     * Filter the registration type.
     *
     * @since 7.0
     *
     * @param string $registration_type The registration type.
     */
    return apply_filters( 'tml_get_registration_type', $registration_type );
}

Uses

Used by

Changelog

VersionDescription
7.0 Introduced.