Collections functions
General functions
Render functions
Theme permission functions
Resource functions

get_keyword_from_option()

Parameters

ColumnTypeDefaultDescription
$option

Location

include/resource_functions.php lines 4753 to 4764

Definition

 
function get_keyword_from_option($option)
    {
    
# For the given field option, return the keyword that will be indexed.
    
$keywords=split_keywords("," $option);

    global 
$stemming;
    if(
$stemming && function_exists('GetStem')) {
        
$keywords[1] = GetStem($keywords[1]);
    }

    return 
$keywords[1];
    }

This article was last updated 30th September 2022 17:35 Europe/London time based on the source file dated 30th September 2022 14:20 Europe/London time.