send_nosniff_header()

In this article

Sends a HTTP header to disable content type sniffing in browsers which support it.

Description

See also

Source

function send_nosniff_header() {
	header( 'X-Content-Type-Options: nosniff' );
}

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.