Clanbite Players

apply_filters( 'clanbite_players_get_display_tagline', string $tagline, int $player_id )

Allows filtering of the players display tagline, this can be bypassed by setting $suppress_filters param to true.

Filter PHP

Parameters

$tagline (string)

Profile tagline.

$player_id (int)

Player (user) ID.

Example

add_filter( 'clanbite_players_get_display_tagline', function ( $tagline, $player_id ) {
	// Change $tagline here.
	return $tagline;
}, 10, 2 );

Defined in inc/extensions/players/functions.php

Changelog

VersionDescription
1.3.0Updated.