wordpress plugin pushes to local api