You are here

public function InstapageCmsPluginWPConnector::escapeHTML in Instapage plugin 8.3

Same name and namespace in other branches
  1. 7.3 core/connectors/InstapageCmsPluginWPConnector.php \InstapageCmsPluginWPConnector::escapeHTML()

Properly escapes the HTML.

Parameters

string $html HTML to escape.:

Return value

string Escaped HTML.

File

core/connectors/InstapageCmsPluginWPConnector.php, line 828

Class

InstapageCmsPluginWPConnector
Class that utilizes native WordPress functions to perform actions like remote requests and DB operations.

Code

public function escapeHTML($html) {
  return esc_html($html);
}