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 2847 to 2852

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 3rd December 2020 13:35 Europe/London time based on the source file dated 2nd December 2020 12:10 Europe/London time.