Function __global->_link_rel_callback
Definitions
sources/input_filter.php
- Used by hard_filter_input_data__html to add rel="nofollow" to links and remove rel="opener".
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $matches | array | No | No | required parameter | N/A | N/A | Array of matches |
Returns
- Substituted text
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Used by hard_filter_input_data__html to add rel="nofollow" to links and remove rel="opener".
*
* @param array $matches Array of matches
* @return string Substituted text
*/
function _link_rel_callback(array $matches) : string
* Used by hard_filter_input_data__html to add rel="nofollow" to links and remove rel="opener".
*
* @param array $matches Array of matches
* @return string Substituted text
*/
function _link_rel_callback(array $matches) : string

