Collections functions
General functions
Render functions
Theme permission functions
Resource functions

image_size_restricted_access()

Parameters

ColumnTypeDefaultDescription
$id

Location

include/resource_functions.php lines 7571 to 7575

Definition

 
function image_size_restricted_access($id)
    {
    
# Returns true if the indicated size is allowed for a restricted user.
    
return sql_value("select allow_restricted value from preview_size where id='$id'",false);
    }

This article was last updated 29th May 2022 07:05 Europe/London time based on the source file dated 24th May 2022 09:25 Europe/London time.