send_frame_options_header()
Send a HTTP header to limit rendering of pages to same origin iframes.
Description
See also
Source
File: wp-includes/functions.php
function send_frame_options_header() { header( 'X-Frame-Options: SAMEORIGIN' ); }
Expand full source code Collapse full source code View on Trac View on GitHub
Changelog
Version | Description |
---|---|
3.1.3 | Introduced. |
User Contributed Notes
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