protected function fileSize() {

		$filesize = isset( $this->meta['filesize'] ) ? $this->meta['filesize'] : '';

		if ( ! $filesize ) {
			$file = get_attached_file( $this->post->ID );

			if ( file_exists( $file ) ) {
				$filesize = filesize( $file );
			}
		}

		if ( $filesize ) {

			$filesize = size_format( strip_tags( $filesize ), 2 );
		}

		return $filesize;
	}
protected function fileSize() {

		$filesize = isset( $this->meta['filesize'] ) ? $this->meta['filesize'] : '';

		if ( ! $filesize ) {
			$file = get_attached_file( $this->post->ID );

			if ( file_exists( $file ) ) {
				$filesize = filesize( $file );
			}
		}

		if ( $filesize ) {

			$filesize = size_format( strip_tags( $filesize ), 2 );
		}

		return $filesize;
	}
protected function fileSize ( ) { $ filesize = isset ( $ this -> meta [ 'filesize' ] ) ? $ this -> meta [ 'filesize' ] : '' ; if ( ! $ filesize ) { $ file = get_attached_file ( $ this -> post -> ID ) ; if ( file_exists ( $ file ) ) { $ filesize = filesize ( $ file ) ; } } if ( $ filesize ) { $ filesize = size_format ( strip_tags ( $ filesize ) , 2 ) ; } return $ filesize ; }
Returns the media file size.

@since  5.0.0
@access protected
@return string
Returns the media file size .