Clanbite

modify_author_links( string $link, int $author_id, string $author_nicename ): string

Point author links at the canonical /players/{nicename} URL.

Hooked to author_link.

public

Class: Kernowdev\Clanbite\Extensions\Players

Parameters

$link (string) Required

Original author URL.

$author_id (int) Required

Author user ID.

$author_nicename (string) Required

Author user_nicename.

Returns

string Player profile URL.

Defined in inc/extensions/players/class-extension-players.php

Changelog

VersionDescription
1.3.0Updated.