WPDev.one
Core Function
View Source on Trac ↗

wp_is_local_html_output()

wp_is_local_html_output( mixed $html )

Checks whether a given HTML string is likely an output from this WordPress site.

Parameters 1 required

Name / Type Description
$html
string

Full HTML output string, e.g. from a HTTP response.

Required

Return Value

((bool)
| null) True/false for whether HTML was generated by this site, null if unable to determine.

Function Information

Since Version
5.7.0
Source File
wp-includes/https-detection.php
Advertisement