Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

get_keyword_from_option()

Parameters

ColumnTypeDefaultDescription
$option

Location

include/resource_functions.php lines 4334 to 4345

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 14th July 2020 05:35 Europe/London time based on the source file dated 13th July 2020 14:40 Europe/London time.