bbp_edit_forum_pre_title
bbp_edit_forum_pre_title
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_title') is found 1 times:
- /includes/forums/functions.php line 461
$forum_title = sanitize_text_field( $_POST['bbp_forum_title'] ); } // Filter and sanitize $forum_title = apply_filters( 'bbp_edit_forum_pre_title', $forum_title, $forum_id ); // No forum title if ( empty( $forum_title ) ) { bbp_add_error( 'bbp_edit_forum_title', __( '<strong>Error</strong>: Your forum needs a title.', 'bbpress' ) ); }