Collections functions
General functions
Render functions
Theme permission functions
User 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 5881 to 5884

Definition

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

This article was last updated 11th December 2023 06:05 Europe/London time based on the source file dated 29th November 2023 14:55 Europe/London time.