This is a feature I have found in an iPhone sold in China. It is called "Apps Using WLAN & Cellular".
Within this setting, certain apps can be set to not use data, use WLAN only, or use both WLAN and mobile data.
I don't see such setting before, although it is included in iOS 10.2.