bbp_list_forums – add_filter help!
-
I thought I followed the codex instructions pretty clearly, but this add_filter in my functions.php file is resulting in a 502 error and… I have no clue why!
Sorry, bbpress newbie here… any help that anyone can offer would be awesome.
Thanks in advance,
-Dave
PS Here’s the code I popped in my functions.php file:
function cxr_subforum_filter() {
bbp_list_forums(array (
‘before’ => ‘<tr>’,
‘after’ => ‘</tr>’,
‘link_before’ => ‘<td>’,
‘link_after’ => ‘</td>’,
‘separator’ => ‘<br>’,
));
}
add_filter( ‘bbp_before_list_forums_parse_args’, ‘cxr_subforum_filter’ );
- You must be logged in to reply to this topic.