Collections functions
General functions
Render functions
Theme permission functions
Resource functions

image_size_restricted_access()

Parameters

ColumnTypeDefaultDescription
$id

Location

include/resource_functions.php lines 7406 to 7410

Definition

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

This article was last updated 5th October 2022 13:35 Europe/London time based on the source file dated 30th September 2022 14:20 Europe/London time.