Skip to content

Function

Render the "Registration" section.

tml_admin_setting_callback_registration_section( )

Source

function tml_admin_setting_callback_registration_section() {
    if ( ! is_multisite() ) {
        return;
    }
    ?>

<p>
    <?php
    printf(
        /* translators: %s: The Network Settings URL. */
        wp_kses_post( __( 'Whether new users can register is set in <a href="%s">Network Settings</a>.', 'theme-my-login' ) ),
        esc_url( network_admin_url( 'settings.php' ) )
    );
    ?>
</p>

    <?php
}

Uses

Changelog

VersionDescription
7.3 Introduced.