BBP_Forums_Admin::row_actions( array $actions, array $forum )
Forum Row actions
Description
Remove the quick-edit action link and display the description under the forum title
Parameters
- $actions
-
(Required) Actions
- $forum
-
(Required) Forum object
Return
(array) $actions Actions
Source
File: bp-forums/admin/forums.php
575 576 577 578 579 580 581 582 583 584 585 | public function row_actions( $actions , $forum ) { if ( $this ->bail() ) return $actions ; unset( $actions [ 'inline hide-if-no-js' ] ); // simple hack to show the forum description under the title bbp_forum_content( $forum ->ID ); return $actions ; } |
Changelog
Version | Description |
---|---|
bbPress (r2577) | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.