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 7594 to 7598

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 4th March 2021 09:35 Europe/London time based on the source file dated 2nd March 2021 14:45 Europe/London time.