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 7934 to 7938

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 19th March 2024 06:35 Europe/London time based on the source file dated 11th March 2024 14:25 Europe/London time.