Walmart Gift Cards can only be used for purchases at Walmart Locations.
So yes you can use Walmart Gift Cards anywhere there is a Walmart but only at Walmart or Walmart Gas Stations.
No other store that is not owned by Walmart will accept Walmart Gift Cards as payment.