check wordpress version cli 1

check wordpress version cli

# wp-includes/version.php has the installed wordpress version number

Here is what the above code is Doing:
1. It’s using the requests library to make a GET request to the target URL.
2. It’s using the BeautifulSoup library to parse the HTML response.
3. It’s using the re library to search the response for the version number.

Similar Posts