crp_link_attributes
Filter the title of the Related Posts list
Type: filter
Since: 3.2.0
Source: includes/frontend/class-display.php line 566
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;
} );