protected function fileName() {

		$filename = basename( get_attached_file( $this->post->ID ) );

		if ( $filename ) {

			$filename = sprintf(
				'<a href="%s">%s</a>',
				esc_url( wp_get_attachment_url( $this->post->ID ) ),
				$filename
			);
		}

		return $filename;
	}
protected function fileName() {

		$filename = basename( get_attached_file( $this->post->ID ) );

		if ( $filename ) {

			$filename = sprintf(
				'<a href="%s">%s</a>',
				esc_url( wp_get_attachment_url( $this->post->ID ) ),
				$filename
			);
		}

		return $filename;
	}
protected function fileName ( ) { $ filename = basename ( get_attached_file ( $ this -> post -> ID ) ) ; if ( $ filename ) { $ filename = sprintf ( '<a href="%s">%s</a>' , esc_url ( wp_get_attachment_url ( $ this -> post -> ID ) ) , $ filename ) ; } return $ filename ; }
Returns the media file name, linked to the original media file.

@since  5.0.0
@access protected
@return string
Returns the media file name linked to the original media file .