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 8013 to 8017

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 27th April 2024 08:05 Europe/London time based on the source file dated 26th April 2024 11:50 Europe/London time.