apply_filters( 'bp_get_canonical_url', string $canonical_url, array $args )

Filters the canonical url of the current page.

Description

Parameters

$canonical_url

Canonical URL of the current page.

$args

Array of arguments to help determine canonical URL.

Source

File: bp-core/bp-core-catchuri.php

Changelog

Changelog
Version Description
BuddyPress 1.6.0 Introduced.

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.