/var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/give/src/Framework/FieldsAPI
NameSizeModeActions
Concerns/-0755rm
Conditions/-0755rm
Contracts/-0755rm
Exceptions/-0755rm
Facades/-0755rm
FormFieldMediator/-0755rm
Checkbox.php9390644editdlrm
Date.php3070644editdlrm
Element.php7080644editdlrm
Email.php4500644editdlrm
Factory.php6060644editdlrm
Field.php13410644editdlrm
File.php17640644editdlrm
Form.php7250644editdlrm
Group.php9730644editdlrm
Hidden.php2480644editdlrm
Html.php5970644editdlrm
Option.php9950644editdlrm
Phone.php4180644editdlrm
Radio.php3380644editdlrm
Select.php3720644editdlrm
Text.php4160644editdlrm
Textarea.php4250644editdlrm
Types.php9160644editdlrm
Url.php4140644editdlrm
Edit: /var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/give/src/Framework/FieldsAPI/File.php (1764B)
validationRules->rule('maxSize', wp_max_upload_size()); // in bytes $this->validationRules->rule('allowedTypes', get_allowed_mime_types()); } /** * Set the maximum file size. * * @param int $maxSize * * @return $this */ public function maxSize($maxSize) { $this->validationRules->rule('maxSize', $maxSize); return $this; } /** * Access the maximum file size. * * @return int */ public function getMaxSize() { return $this->validationRules->getRule('maxSize'); } /** * Set the allowed file types. * * @param string[] $allowedTypes * * @return $this */ public function allowedTypes($allowedTypes) { $this->validationRules->rule('allowedTypes', $allowedTypes); return $this; } /** * Access the allowed file types. * * @return string[] */ public function getAllowedTypes() { return $this->validationRules->getRule('allowedTypes'); } }