Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

get_home_page_promoted_collections()

Parameters

This function accepts no parameters.

Location

include/collections_functions.php lines 3019 to 3024

Definition

 
function get_home_page_promoted_collections()
    {
    global 
$COLLECTION_PUBLIC_TYPES;
    
$public_types join(", "$COLLECTION_PUBLIC_TYPES);
    return 
sql_query("select collection.ref, collection.`type`,collection.name,collection.home_page_publish,collection.home_page_text,collection.home_page_image,resource.thumb_height,resource.thumb_width, resource.resource_type, resource.file_extension from collection left outer join resource on collection.home_page_image=resource.ref where collection.`type` IN ({$public_types}) and collection.home_page_publish=1 order by collection.ref desc");
    }

This article was last updated 12th May 2021 06:05 Europe/London time based on the source file dated 10th May 2021 09:15 Europe/London time.