Collections functions
General functions
Node functions
Render functions
Theme permission functions
User 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 1875 to 1878

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 19th March 2024 09:35 Europe/London time based on the source file dated 15th March 2024 17:00 Europe/London time.