Function search_excerpt
Returns snippets from a piece of text, with certain keywords highlighted. Used for formatting search results.
Parameters summary
mixed |
$keys |
A string containing a search query. |
mixed |
$text |
The text to extract fragments from. |
Return value summary
A
|
string containing HTML for the excerpt. |