post_type === 'xlwcty_thankyou' ) { $parts = explode( "#contact-form-{$id}", $url ); $mail_url = $parts[0]; if ( isset( $_GET['wlmdebug'] ) ) { unset( $_GET['wlmdebug'] ); } $url = add_query_arg( $_GET, $mail_url ); $url .= "#contact-form-{$id}"; } return $url; } } XLWCTY_Jetpack::get_instance();