Recent

crp_link_attributes filter

Filter the title of the Related Posts list

Type: filter
Since: 3.2.0
Source: includes/frontend/class-display.php line 566

Parameters

TypeNameDescription
array$link_attributesArray of link attributes
array$argsArray of arguments
\WP_Post$result\WP_Post object.

Usage

add_filter( 'crp_link_attributes', function($link_attributes, $args, $result) {
    // ...
    return $link_attributes;
} );