allowPromotedResources()

Description

Confirms whether a dash tile type allows for promoted resources

Parameters

ColumnTypeDefaultDescription
$tile_type string

Return

boolean

Location

include/dash_functions.php lines 1817 to 1826

Definition

 
function allowPromotedResources($tile_type)
{
    if (
'' === trim($tile_type)) {
        return 
false;
    }

    
$allowed_types = array('srch''fcthm');

    return 
in_array($tile_type$allowed_types);
}

This article was last updated 12th July 2025 08:05 Europe/London time based on the source file dated 17th April 2025 17:40 Europe/London time.