rtmedia_string_album_count

Description

Use this filter to enable/disable media count and/or add strings before/after the count.

Sample code

Add the following code in your theme’s functions.php file:

add_filter( 'rtmedia_string_album_count', 'rtmedia_string_album_count_callback', 10, 1 );
function rtmedia_string_album_count_callback( $rtmedia_album_count_status ) {
	$rtmedia_album_count_status = array(
		'status'	=> true,
		'before_string'	=> '(  ',
		'after_string'	=> ' )',
	);
	return $rtmedia_album_count_status;
}

It is also possible to pass only a single argument with this filter if you only want to change one value.
For example

add_filter( 'rtmedia_string_album_count', 'rtmedia_string_before_album_count_callback', 10, 1 );
function rtmedia_string_before_album_count_callback( $rtmedia_album_count_status ) {
	$rtmedia_album_count_status['status'] = false;
	return $rtmedia_album_count_status;
}

Screenshot:
17-04-27