wp_is_local_html_output


wp_is_local_html_output ( $html )

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

Description

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_is_block_theme, wp_filter_global_styles_post, _wp_menu_output, wp_is_large_user_count, is_local_attachment

Top Google Results

User discussions

wpseek mobile