Twitch helix stream status getJSON migration

twitch-cli is for helping demonstrate the flows, as it’s for local development/testing, not production

For a wordpress site you’ll need to add PHP code to handle token generation and fetching/storing stream status for use by the wordpress site

see Twitch API | Twitch Developers