Collections functions
General functions
Render functions
Theme permission functions
Resource functions

escape_quoted_data()

Description

Output encoding for HTML & JS within a quoted context when unsafe input is rendered inside it

Parameters

ColumnTypeDefaultDescription
$unsafe string

Return

string

Location

include/render_functions.php lines 5768 to 5771

Definition

 
function escape_quoted_data(string $unsafe)
    {
    return 
htmlspecialchars($unsafeENT_QUOTES);
    }

This article was last updated 31st January 2023 10:05 Europe/London time based on the source file dated 26th January 2023 10:25 Europe/London time.