Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

get_keyword_from_option()

Parameters

ColumnTypeDefaultDescription
$option

Location

include/resource_functions.php lines 4777 to 4788

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 8th May 2021 09:05 Europe/London time based on the source file dated 7th May 2021 12:10 Europe/London time.