-
-
Notifications
You must be signed in to change notification settings - Fork 29
get_webcomic_transcript_author_link_tokens
Michael Sisk edited this page Apr 10, 2018
·
1 revision
Alter the link tokens.
apply_filters( 'get_webcomic_transcript_author_link_tokens', array $tokens, string $link, array $author )
This filter allows hooks to alter the replaceable link text tokens and their values.
Token | Value | Example |
---|---|---|
%avatar | The author's avatar | |
%avatar-* | The author's avatar at the specified size. | |
%name | The transcript author's name`. | Angie |
%url | The transcript author's URL. | example.com |
The *
in these tokens is a placeholder for a specific avatar pixel
size, like %avatar-48
.
The token values.
The link text to search for tokens.
The transcript author the link is for.