bbp_edit_reply_pre_title

bbp_edit_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_edit_reply_pre_title') is found 1 times:

  • /includes/replies/functions.php line 614
    		$reply_title = sanitize_text_field( $_POST['bbp_reply_title'] );
    	}
    
    	// Filter and sanitize
    	$reply_title = apply_filters( 'bbp_edit_reply_pre_title', $reply_title, $reply_id );
    
    	// 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: