r/WPDev • • May 15 '17

Explicitly targeting code for specific device families (written by me!)

https://medium.com/@colinkiama/explicitly-targeting-code-to-specific-device-19a11ddf2593
12 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/vitorgrs May 25 '17

Well, it's a different purpose. This way you would need to check for every device family. The other way just check if the API is present on the platform is running.