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

Map a post link to its group forum

Description

Parameters

$url

(string) (Required)

$post

(obj) (Required)

$leavename

(boolean) (Required)

Return

(string)

Source

File: bp-forums/groups.php

	public function post_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.