4 Comments

  1. modemlooper

    If you go the route of creating a plugin make sure BP is loaded or the remove will fire before BP as loaded the filter.

    function remove_url() {
    remove_filter( ‘comments_array’, ‘bp_core_filter_comments’, 10, 2 );
    }
    add_action(‘bp_include’, ‘remove_url’);

    Report

  2. Sarah Gooding

    @modemlooper – Thanks, yes that is a better way to do it for sure :) I’ll update the post with that info.

    Report

  3. Charles

    It does not work for me. Did I put it in the wrong folder? I pasted your code inside /wp-content/plugins/bp-custom.php

    Report

  4. Sarah Gooding

    @Charles – Try making a quick plugin for it instead.

    Report

Comments are closed.

%d bloggers like this: