wp_is_local_html_output ( $html )

  • private
  • (string) html Full HTML output string, e.g. from a HTTP response.
  • (bool|null) True/false for whether HTML was generated by this site, null if unable to determine.
Defined at:


Checks whether a given HTML string is likely an output from this WordPress site.This function attempts to check for various common WordPress patterns whether they are included in the HTML string. Since any of these actions may be disabled through third-party code, this function may also return null to indicate that it was not possible to determine ownership.

Related Functions

_wp_menu_output, is_local_attachment, wp_widget_rss_output, wp_html_split, wp_kses_allowed_html

Top Google Results

User discussions

wpseek mobile