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 5774 to 5777

Definition

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

This article was last updated 3rd October 2022 12:35 Europe/London time based on the source file dated 22nd September 2022 16:20 Europe/London time.