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 8015 to 8019

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 5th May 2024 12:35 Europe/London time based on the source file dated 3rd May 2024 14:45 Europe/London time.