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 2846 to 2860

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 24th May 2022 20:35 Europe/London time based on the source file dated 10th May 2022 09:10 Europe/London time.