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

image_size_restricted_access()

Parameters

ColumnTypeDefaultDescription
$id

Location

include/resource_functions.php lines 7941 to 7945

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 2nd December 2023 09:05 Europe/London time based on the source file dated 30th November 2023 17:05 Europe/London time.