How To Hide The Version Number

The following information is written for advanced users and developers.

We added a filter in Yoast SEO Premium version 2.3.3 to allow hiding of the version number in your HTML source code.

Please add the following code to your theme's functions.php file.

add_filter( 'wpseo_hide_version', '__return_true' );

Was this article helpful? ·