Would you mind attaching the script you are running to ping your sites? This will give me a better understanding as to the code behind this process.. typically sites that run on WordPress or not will still return an HTTP request code that will be visible to anyone on the back-end of the site.
This will be found in the site’s access log, as it captures all of the HTTP requests sent to the site and your webserver will throw it into this log. You can find the requests through here, but that means you will need to access each site you’re wanting to test and check the access logs accordingly.
Writing this into the script will require quite a bit more of conditional statements, but if you choose to proceed down this route then it will be necessary.
Thanks,
Tyler