WordPress.org

Support

Support » Plugins and Hacks » Change position of Drop Down In BuddyPress Docs

Change position of Drop Down In BuddyPress Docs

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Boone Gorges
    Participant

    @boonebgorges

    Shobhit –

    This should be possible. Filter ‘bp_docs_get_access_options’ to resort the array. Something like:

    function bbg_sort_bp_docs_access_options( $o ) {
        return array(
            0 => $o[90],
            1 => $o[20],
            2 => $o[10],
        );
    }
    add_filter( 'bp_docs_get_access_options', 'bbg_sort_bp_docs_access_options' );
    shobhit123
    Member

    @shobhit123

    Hi Boone,

    Thanks for your reply!!

    I really appreciated.

    In which file I have to find this the function or write this function??

    shobhit123
    Member

    @shobhit123

    Hi Boone,

    It works for me, but as of now Anyone is selected I want The Doc Author Only to Selected as well.

    1. The Doc Author Only (Selected)
    2 .Anyone
    3. LoggedIn user

    shobhit123
    Member

    @shobhit123

    Hi Boone,

    Have’nt hear anything yet.

    Please respond…

    shobhit123
    Member

    @shobhit123

    Hi Boone,

    Still awaiting to hear from you??

    Please respond asap…

    Thanks

    Shobhit

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change position of Drop Down In BuddyPress Docs’ is closed to new replies.