Collections functions
General functions
Render functions
Theme permission functions
Resource functions

get_smart_theme_headers()

Description

Returns a list of smart theme headers, which are basically fields with a 'smart theme name' set.

Parameters

This function accepts no parameters.

Return

array

Location

include/collections_functions.php lines 1828 to 1831

Definition

 
function get_smart_theme_headers()
    {
    return 
ps_query("SELECT ref, name, smart_theme_name, type FROM resource_type_field WHERE length(smart_theme_name) > 0 ORDER BY smart_theme_name", array(), "featured_collections");
    }

This article was last updated 4th October 2022 16:35 Europe/London time based on the source file dated 4th October 2022 09:50 Europe/London time.