File manager - Edit - /home/proidvn/me.proid.vn/wp-content/plugins/admin-menu-editor-pro/customizables/Settings/StringEnumSetting.php
Back
<?php namespace YahnisElsts\AdminMenuEditor\Customizable\Settings; class StringEnumSetting extends EnumSetting { protected $dataType = 'string'; public function encodeForForm($value) { if ( $this->isNullable() ) { return wp_json_encode($value); } else { return (string)$value; } } public function decodeSubmittedValue($value) { if ( $this->isNullable() ) { return json_decode($value, true); } else { return $value; } } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Generation time: 0.12 |
proxy
|
phpinfo
|
Settings