Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbp_get_allowed_tags filter trouble – can't get a response out of it


  • philipjohn
    Participant

    @philipjohn

    Hiya,

    I’m trying to hide the “allowed tags” bit of the reply form and decided to try and use the bbp_get_allowed_tags filter.

    However, the filter doesn’t seem to want to work. I’ve added the following to my theme’s functions.php:

    function sibs_bbp_get_allowed_tags($retval){
    	var_dump($retval);
    	return $retval;
    }
    add_filter('bbp_get_allowed_tags', 'sibs_bbp_get_allowed_tags' );

    This produces no effect though, almost as if the filter isn’t even working.

    Am I using it wrong? Kinda confused…

    Oh, and I realise this might not be the best way to hide the “allowed tags” feature. I’ll probably just use another method, but I’d like to discover what’s wrong with what I’ve done here anyway.

    Thanks

Viewing 1 replies (of 1 total)

  • philipjohn
    Participant

    @philipjohn

    I found the solution!

    The solution was to stop being an idiot and realise I was looking at the WordPress comment form. Duuuuh.

    I hope this thread brought some light amusement to your day 🙂

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar