Hello,
Will the below code affect me in any way if I implement?
I just don’t want to display my WP version.
Your thoughts please:
# Remove WordPress Version
function remove_wp_version() { return ''; }
add_filter('the_generator', 'remove_wp_version');
# Remove Version Query Strings From JavaScript JS and CSS Stylesheet Files
function _remove_script_version( $src ){
$parts = explode( '?', $src );
return $parts[0];
}
add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );
add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );
Thank you.
Antonio