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

	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

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.