Filter Name : rtmedia_show_title_media_gallery

Description

Show title in rtMedia media tab.

Example

You can try adding this sample code under your theme’s functions.php file.


// Check if function does not exist.
if ( ! function_exists( 'rtmedia_show_title_media_gallery_callback' ) ) {
	function rtmedia_show_title_media_gallery_callback( $media_types ) {
		// Add the media type for which title should display.
		$media_types[] = 'video';
		$media_types[] = 'music';
		return $media_types;
	}
}
add_filter( 'rtmedia_show_title_media_gallery', 'rtmedia_show_title_media_gallery_callback', 11, 1 );