• I am currently trying to build an interface to query the current version of an external WordPress site.

    Since I have no experience with the WordPress REST API, I wanted to ask you if this is even possible with the REST API.

    Additionally, I would need to set up an email notification once this queried version is outdated.

    How would you approach this idea? I would appreciate any feedback and guidance.

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    I don’t see a version value anywhere in the documented API endpoints. It’ll likely require a custom route/endpoint to be able to get the version through the API.

    You could instead make a HEAD request to the bare domain URL and check the generator meta tag value.

Viewing 1 replies (of 1 total)
  • The topic ‘Query WordPress Version over API and send E-Mail notification when outdated’ is closed to new replies.