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 1826 to 1829

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 26th June 2022 02:05 Europe/London time based on the source file dated 23rd June 2022 12:32 Europe/London time.