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
Version | Description |
---|---|
3.1.3 | Introduced. |
Sends a HTTP header to limit rendering of pages to same origin iframes.
function send_frame_options_header() {
header( 'X-Frame-Options: SAMEORIGIN' );
}
Version | Description |
---|---|
3.1.3 | Introduced. |
You must log in before being able to contribute a note or feedback.
For those who would like to change this behavior, try using .htaccess instead of modifying this function directly, i.e.
Header always unset X-Frame-Options