Collections functions
General functions
Render functions
Theme permission functions
Resource functions

image_size_restricted_access()

Parameters

ColumnTypeDefaultDescription
$id

Location

include/resource_functions.php lines 7729 to 7733

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 3rd February 2023 17:41 Europe/London time based on the source file dated 3rd February 2023 13:55 Europe/London time.