Skip Navigation

[Resolved] Split: How to modify login URL with Toolset's login form?

This support ticket is created 5 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by StanleyT8485 5 years, 5 months ago.

Assisted by: Minesh.

Author
Posts
#1332103

Thanks! That worked!

Is that a default function of the Toolset's login form?

Another question, how do you change the error message of the login form?

Stan

#1332121

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

What if you try to use the following filter "wpv_filter_override_auth_errors" to override the login form errors:

add_filter( 'wpv_filter_override_auth_errors', 'func_custom_wpv_override_auth_errors', 30, 3 );
function func_custom_wpv_override_auth_errors( $message, $class = '', $code = '' ) {
  switch( $code ) {
    case 'invalid_key';
    $message = __( 'CUSTOM VALUE', 'wpv-views' );
    break;
    case 'invalidcombo';
    $message = __( 'CUSTOM VALUE', 'wpv-views' );
    break;
  }
return $message;
}

Where:
- Change the error messages accordingly.

#1333053

My issue is resolved now. Thank you!