Clanbite Teams

apply_filters( 'clanbite_team_profile_home_label', string $label, int $team_id )

Filter the label for the team profile home link.

Filter PHP

Parameters

$label (string)

Default label.

$team_id (int)

Team post ID.

Example

add_filter( 'clanbite_team_profile_home_label', function ( $label, $team_id ) {
	// Change $label here.
	return $label;
}, 10, 2 );

Defined in src/blocks/teams/profile-nav/render.php