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 1877 to 1880

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 8th May 2024 20:35 Europe/London time based on the source file dated 3rd May 2024 14:45 Europe/London time.