Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

image_size_restricted_access()

Parameters

ColumnTypeDefaultDescription
$id

Location

include/resource_functions.php lines 7629 to 7633

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 18th May 2021 00:05 Europe/London time based on the source file dated 11th May 2021 10:25 Europe/London time.