How do I remove canonical URL from buddypress member pages

I am trying to remove the canonical URL from the Buddypress Member pages on our site, and having no luck.

I just updated the plugin to version 1.7.1.

I also added this line of code in the functions.php file:

add_filter(‘wds_process_canonical’, ‘__return_false’:wink:;

But when I pull up a member page and look at the source, I still get this line:

<link rel=”canonical” href=”” />

I’ve tried a number of fixes both from here and other sources, and I’m not getting anywhere.

Our member profiles have a lot of information that we want Google to search, but right now it doesn’t look like that’s happening.

Any ideas why I can’t get rid of the canonical links on our member pages?