░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
vps.doorgans.com
LOCATION:
/home/fotosel/.trash/wp-content/plugins/elementor/core/files/file-types
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: base.php
<?php namespace Elementor\Core\Files\File_Types; use Elementor\Core\Base\Base_Object; use Elementor\Core\Utils\Exceptions; use Elementor\Plugin; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Elementor File Types Base. * * The File Types Base class provides base methods used by all file type handler classes. * These methods are used in file upl * * @since 3.3.0 */ abstract class Base extends Base_Object { /** * Get File Extension * * Returns the file type's file extension * * @since 3.3.0 * * @return string - file extension */ abstract public function get_file_extension(); /** * Get Mime Type * * Returns the file type's mime type * * @since 3.5.0 * * @return string - file extension */ abstract public function get_mime_type(); /** * Validate File * * This method give file types the chance to run file-type-specific validations before returning the file for upload. * * @since 3.3.0 * * @param $file * @return bool|\WP_Error */ public function validate_file( $file ) { return true; } /** * Is Upload Allowed * * This method returns whether the file type is allowed to be uploaded, even if unfiltered uploads are disabled. * * @since 3.3.0 * * @return bool */ public function is_upload_allowed() { return true; } }
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 base.php
PHP
1.3 KB
2022-06-09 15:28
EDIT
📄 json.php
PHP
544 B
2022-06-09 15:28
EDIT
📄 svg.php
PHP
18.1 KB
2022-06-09 15:28
EDIT
📄 zip.php
PHP
4.5 KB
2022-06-09 15:28
EDIT