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 5184 to 5195

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 19th March 2024 03:35 Europe/London time based on the source file dated 11th March 2024 14:25 Europe/London time.