Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

image_size_restricted_access()

Parameters

ColumnTypeDefaultDescription
$id

Location

include/resource_functions.php lines 8000 to 8004

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,"schema");
    }

This article was last updated 29th May 2024 13:35 Europe/London time based on the source file dated 24th May 2024 10:10 Europe/London time.