rtmedia_delete_prompt_message

Description

Change prompt text displayed when the user deletes a media.

Example

/**
 * Change delete media prompt message.
 *
 */
if ( ! function_exists( 'rtm_delete_prompt_message' ) ) {
    function rtm_delete_prompt_message( $message ) {
	$message = esc_html__( 'Hey !!! Are you sure you want to delete this media?', 'buddypress-media' );
	return $message;
    }
}
add_filter( 'rtmedia_delete_prompt_message', 'rtm_delete_prompt_message' );