Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/piotrpress/wordpress-hide-version/archive/refs/heads/master.zipOn Packagist as piotrpress/hide-version:
composer require piotrpress/hide-versionNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
This plugin hides the WordPress version number by removing the generator meta tag and replacing ver query parameter from enqueued scripts and styles with the file modification time.
This can help improve security by making it more difficult for attackers to identify vulnerabilities in your WordPress installation.
Requirements
PHP >= 7.4 version.