This filter returns the number of characters for the attachment’s title to display.


  1. Number of Characters [Integer]
  2. Property ID [Integer]
  3. Field’s Data [Array]


Now if you want to increase the title’s length, you can use the following code.

You have to paste the following code inside the functions.php file of your active theme.

add_filter( 'rem_attachments_title_length', 'rem_change_attachment_title_length', 10, 1 );

function rem_change_attachment_title_length($length){
	return '30';