send_frame_options_header()

Sends a HTTP header to limit rendering of pages to same origin iframes.

Description

See also

Source

function send_frame_options_header() {
	header( 'X-Frame-Options: SAMEORIGIN' );
}

Changelog

VersionDescription
3.1.3Introduced.

User Contributed Notes

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