Maybe I didn't explain it clearly, it does work on all iPhones that are a part of Family Sharing. This doesn't actually hide it on your phone, it just hides it on the other phones associated with your Family Sharing account. Also the other member of your family Sharing account can likewise hide apps they've purchased from showing on your phone.
To actually hide apps it still has to be done through iTunes on your PC.