Leave a Reply

1 comment

  1. Have you tried creating a error? Something like:

    function wpse_23982_admin_notices() {
        if ( isset( $_GET['extendd-message'] ) && $_GET['extendd-message'] == 'response_error' ) {
            add_settings_error( 'extendd-notices', 'extendd-remote-api-fail', __( 'There was an error connecting to extendd.com/. Please try again at another time.', 'extendd' ), 'error' );
        }
    
    }
    add_filter( 'registration_errors', 'wpse_23982_admin_notices' );
    

    Then on the error do something like wp_redirect with error.

    wp_url.com/?extendd-message=response_error