collider.GetWorldPose not working?

I am trying to program a simple car and i want to get my visual wheels to move along with the wheel colliders but i cannot find very many tutorials or code for it, although i did find something on unity website but it gives an error saying:
‘UnityEngine.WheelCollider’ does not contain a definition for ‘GetWorldPose’

This is the line that i get my error at:

collider.GetWorldPose(out position, out rotation);

Use Unity 5 for .GetWorldPose().