send_frame_options_header() WordPress Function
The send_frame_options_header() function is used to send the X-Frame-Options header to prevent clickjacking attacks.
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 codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.1.3 | Introduced. |