Recent

crp_author filter

crp_author

Filter the text with the author details.

Type: filter
Since: 2.0.0
Source: includes/frontend/class-display.php line 775

Parameters

TypeNameDescription
string$crp_authorFormatted string with author details and link
object$author_infoWP_User object of the post author
\WP_Post$result\WP_Post object.
array$argsArray of arguments

Usage

add_filter( 'crp_author', function($crp_author, $author_info, $result, $args) {
    // ...
    return $crp_author;
} );