Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

get_keyword_from_option()

Parameters

ColumnTypeDefaultDescription
$option

Location

include/resource_functions.php lines 5264 to 5275

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 27th April 2024 20:05 Europe/London time based on the source file dated 26th April 2024 11:50 Europe/London time.