bbp_new_reply_pre_title

bbp_new_reply_pre_title

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_new_reply_pre_title') is found 1 times:

  • /includes/replies/functions.php line 280
    		$reply_title = sanitize_text_field( $_POST['bbp_reply_title'] );
    	}
    
    	// Filter and sanitize
    	$reply_title = apply_filters( 'bbp_new_reply_pre_title', $reply_title );
    
    	// Title too long
    	if ( bbp_is_title_too_long( $reply_title ) ) {
    		bbp_add_error( 'bbp_reply_title', __( '<strong>Error</strong>: Your title is too long.', 'bbpress' ) );
    	}
    
    

See this hook used in plugins: