crp_link_attributes
Filter the title of the Related Posts list
Type: filter
Since: 2.2.0
Source: includes/frontend/class-display.php line 568
Changelog
| Version | Description |
|---|---|
3.2.0 |
Added $result parameter |
2.2.0 |
Introduced. |
Parameters
| Type | Name | Description |
|---|---|---|
array |
$link_attributes |
Array of link attributes |
array |
$args |
Array of arguments |
\WP_Post |
$result |
\WP_Post object. |
Usage
add_filter( 'crp_link_attributes', function($link_attributes, $args, $result) {
// ...
return $link_attributes;
} );