Forums

Join
bbPress Support ForumsPluginsbbPress Forum Topic Trash

Info

Tags

bbPress Forum Topic Trash

  1. When I am logged into my bbPress v2.0 Forum as Admin and viewing topics, I have the options of Edit and Trash among others. But when logged in with a role of Subscriber I only see Edit and not Trash on posts that are authored by the Subscriber user.

    I have installed a bb_current_user_can filter as shown here (picked up off this forum):

    function delete_own_post($retvalue, $capability, $args) {
    if ($capability=="delete_post") {return bb_current_user_can( 'delete_post', $args[1]);}
    return $retvalue;
    }
    add_filter('bb_current_user_can', 'delete_own_post',10,3);

    but only see Edit capability. How do I get Edit and Trash for Post authors in the forum?

  2. You must log in to post.