/** * Enables the HTTP Strict Transport Security (HSTS) header in WordPress. */ function tg_enable_strict_transport_security_hsts_header_wordpress() { header( 'Strict-Transport-Security: max-age=31536000' ); } add_action( 'send_headers', 'tg_enable_strict_transport_security_hsts_header_wordpress' );
Calle Barbieri, 15. 28004 Madrid +34 91 521 99 55

REGALA