Inpsyde\MultilingualPress\Common\Setting\User\SecureUserSettingUpdater::get_value PHP Метод

get_value() приватный Метод

Returns the value included in the request.
private get_value ( ) : string
Результат string The value included in the request.
    private function get_value()
    {
        $value = array_key_exists($this->meta_key, $_GET) ? $_GET[$this->meta_key] : '';
        if (empty($_SERVER['REQUEST_METHOD']) || 'POST' !== strtoupper($_SERVER['REQUEST_METHOD'])) {
            return $value;
        }
        return array_key_exists($this->meta_key, $_POST) ? $_POST[$this->meta_key] : '';
    }
SecureUserSettingUpdater