Clanbite Teams

apply_filters( 'clanbite_load_team_manage_template', string $template, int $team_id, \Kernowdev\Clanbite\Extensions\Teams $extension )

Filters the template used for the team management route.

Filter PHP

Parameters

$template (string)

Resolved template path.

$team_id (int)

Team post ID.

$extension (\Kernowdev\Clanbite\Extensions\Teams)

Teams extension.

Example

add_filter( 'clanbite_load_team_manage_template', function ( $template, $team_id, $extension ) {
	// Change $template here.
	return $template;
}, 10, 3 );

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

Changelog

VersionDescription
1.3.0Updated.