crp_author
Filter the text with the author details.
Type: filter
Since: 2.0.0
Source: includes/frontend/class-display.php line 775
Parameters
| Type | Name | Description |
|---|---|---|
string | $crp_author | Formatted string with author details and link |
object | $author_info | WP_User object of the post author |
\WP_Post | $result | \WP_Post object. |
array | $args | Array of arguments |
Usage
add_filter( 'crp_author', function($crp_author, $author_info, $result, $args) {
// ...
return $crp_author;
} );