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