// Modifiche del 14 08 2018 // Remove Wp Emoji remove_action('wp_head', 'print_emoji_detection_script', 7); remove_action('wp_print_styles', 'print_emoji_styles'); remove_action( 'admin_print_scripts', 'print_emoji_detection_script' ); remove_action( 'admin_print_styles', 'print_emoji_styles' ); // Remove WordPress Meta Generator remove_action('wp_head', 'wp_generator'); // Hide WordPress Version Info function hide_wordpress_version() { return ''; } add_filter('the_generator', 'hide_wordpress_version'); // Remove WordPress Version Number In URL Parameters From JS/CSS function hide_wordpress_version_in_script($src, $handle) { $src = remove_query_arg('ver', $src); return $src; } add_filter( 'style_loader_src', 'hide_wordpress_version_in_script', 10, 2 ); add_filter( 'script_loader_src', 'hide_wordpress_version_in_script', 10, 2 ); // Disable Wp Xmlrpc add_filter( 'xmlrpc_enabled', '__return_false' ); // Customize credential login error messagge function login_error_override(){ return 'Credenziali errate.'; } add_filter('login_errors', 'login_error_override'); Maurizio Pitacco – Campodata

lenocciole@campodata.it +39 06 68417853

Campodata

Autore archivio: Maurizio Pitacco