crp_author_name
Filter the author name.
Type: filter
Since: 1.9.1
Source: includes/frontend/class-display.php line 759
Parameters
| Type | Name | Description |
|---|---|---|
string |
$author_name |
Proper name of the post author. |
object |
$author_info |
WP_User object of the post author |
Usage
add_filter( 'crp_author_name', function($author_name, $author_info) {
// ...
return $author_name;
} );