Recent

tptn_author filter

tptn_author

Filter the text with the author details.

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

Parameters

TypeNameDescription
string$tptn_authorFormatted string with author details and link
object$author_infoWP_User object of the post author
object$resultObject of the current post result
array$argsArray of arguments

Usage

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