Collections functions
General functions
Render functions
Theme permission functions
Resource functions

get_search_default_restypes()

Parameters

This function accepts no parameters.

Location

include/search_functions.php lines 2983 to 2997

Definition

 
function get_search_default_restypes()
    {
    global 
$search_includes_resources;
    
$defaultrestypes=array();
    if(
$search_includes_resources)
        {
        
$defaultrestypes[] = "Global";
        }
      else
        {
        
$defaultrestypes[] = "Collections";
        if(
$search_includes_themes){$defaultrestypes[] = "themes";}
        }    
    return 
$defaultrestypes;
    }

This article was last updated 5th October 2022 04:35 Europe/London time based on the source file dated 3rd October 2022 17:20 Europe/London time.