BBP_Forums_Group_Extension::post_type_link( string $url, obj $post )

Map a custom post type link to its group forum

Description

Parameters

$url

(string) (Required)

$post

(obj) (Required)

$leavename

(Required)

$sample

(Required)

Return

(string)

Source

File: bp-forums/groups.php

	public function post_type_link( $url, $post ) {
		return $this->maybe_map_permalink_to_group( $post->ID, $url );
	}

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.