Clanbite Profile sub-pages and groups

apply_filters( 'clanbite_profile_subpage_registry_map', array<string, array{globals_key: string, filter: string, template_prefix: string}> $map )

Register additional profile subpage contexts (third-party entity profiles).

Filter PHP

Parameters

$map (array<string, array{globals_key: string, filter: string, template_prefix: string}>)

Context slug => config.

Example

add_filter( 'clanbite_profile_subpage_registry_map', function ( $map ) {
	// Change $map here.
	return $map;
}, 10, 1 );

Defined in inc/profile-subpages.php