Clanbite Social Kit General

apply_filters( 'clanbite_group_profile_home_label', string $label, int $group_id )

Filter the label for the group profile home (main) link.

Filter PHP

Parameters

$label (string)

Default label.

$group_id (int)

Group post ID.

Example

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

Also fired in

  • templates/groups/partials/group-profile-nav.php

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