Remove/hide the login link in shortcode

I'm attempting to remove the "login link" from the [ms-membership-register-user] short code per the help doc in the plugin. I did the following: [ms-membership-register-user loginlink="no"] but that doesn't seem to be helping
how should I format the filters in the short codes?

or, if I could control where that link goes instead of it defaulting to <page-slug>/?do-login=1

  • Vaughan

    Hi Aaron,

    Hope you're well?

    There does seem to be an issue with the loginlink argument always returning true.

    To fix this temporarily.

    Open up & edit the following file:


    find the following on lines (206 - 210)

    if ( ! function_exists( 'is_ms_registration_form_login_link_exists' ) ) {
    	function is_ms_registration_form_login_link_exists() {
    		return isset( MS_Helper_Template::$ms_registration_form['login_link_exists'] );

    Replace with:

    if ( ! function_exists( 'is_ms_registration_form_login_link_exists' ) ) {
    	function is_ms_registration_form_login_link_exists() {
                    && MS_Helper_Template::$ms_registration_form['login_link_exists'] == 1) {
                return true;
            return false;

    This should hopefully fix it, so loginlink="no" will now hide the login link.

    I have reported this as a bug to the developer.

    Hope this helps

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.