Clanbite

reserve_team_route_slugs( string $slug, int $post_id, string $post_status, string $post_type, int $post_parent, string $original ): string

Avoid team slugs that collide with the top-level /teams/create/ route.

public

Class: Kernowdev\Clanbite\Extensions\Teams

Parameters

$slug (string) Required

Post slug.

$post_id (int) Required

Post ID.

$post_status (string) Required

Post status.

$post_type (string) Required

Post type.

$post_parent (int) Required

Parent post ID.

$original (string) Required

Original slug.

Returns

string

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