bbp_edit_forum_pre_content
bbp_edit_forum_pre_content
Appears in: bbpress.2.5.14, bbpress.2.6.0, bbpress.2.6.1, bbpress.2.6.11, bbpress.2.6.2, bbpress.2.6.3, bbpress.2.6.4, bbpress.2.6.5, bbpress.2.6.6, bbpress.2.6.9
Hook Type: filter
See hook in action
Displaying hooks found in version: bbpress.2.6.9apply_filters('bbp_edit_forum_pre_content') is found 1 times:
- /includes/forums/functions.php line 480
$forum_content = $_POST['bbp_forum_content']; } // Filter and sanitize $forum_content = apply_filters( 'bbp_edit_forum_pre_content', $forum_content, $forum_id ); // No forum content if ( empty( $forum_content ) ) { bbp_add_error( 'bbp_edit_forum_content', __( '<strong>Error</strong>: Your forum description cannot be empty.', 'bbpress' ) ); }