Clanbite Players

apply_filters( 'clanbite_load_players_directory_template', string $path, string $located_theme_path )

Filters the resolved template path for the players directory.

Filter PHP

Parameters

$path (string)

Resolved template path.

$located_theme_path (string)

Template path found in the active theme, if any.

Example

add_filter( 'clanbite_load_players_directory_template', function ( $path, $located_theme_path ) {
	// Change $path here.
	return $path;
}, 10, 2 );

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

Changelog

VersionDescription
1.3.0Updated.