BBP_Forums_Group_Extension::map_reply_edit_url_to_group( string $url, int $reply_id )
Map a reply edit link to its group forum
Description
Parameters
- $url
-
(Required)
- $reply_id
-
(Required)
Return
(string)
Source
File: bp-forums/groups.php
public function map_reply_edit_url_to_group( $url, $reply_id ) { $new = $this->maybe_map_permalink_to_group( $reply_id ); if ( empty( $new ) ) return $url; return trailingslashit( $new ) . bbpress()->edit_id . '/'; }
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.