tmhUtilities::entify_with_options
Entifies the tweet using the given entities element, using the provided options.
Signature
public function entify_with_options(array
$tweet,
[array
$options = ,
[array&
$replacements = ]] )
Parameters
$tweet
—
array
- the json converted to normalised array
$options
—
array
- settings to be used when rendering the entities
$replacements
—
array
- if specified, the entities and their replacements will be stored to this variable
Returns
- the
- tweet text with entities replaced with hyperlinks