Switch remote fetch to wp api