Файловый менеджер - Редактировать - /var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/classes/API/REST/Base.php
Назад
<?php namespace WPML\Rest; use IWPML_Action; abstract class Base implements ITarget, IWPML_Action { /** @var Adaptor */ private $adaptor; public function __construct( Adaptor $adaptor ) { $this->adaptor = $adaptor; $adaptor->set_target( $this ); } /** * @return string */ abstract public function get_namespace(); public function add_hooks() { $this->adaptor->add_hooks(); } /** * @return array */ public static function getStringType() { return [ 'type' => 'string', 'sanitize_callback' => 'WPML_REST_Arguments_Sanitation::string', ]; } /** * @return array */ public static function getIntType() { return [ 'type' => 'int', 'validate_callback' => 'WPML_REST_Arguments_Validation::integer', 'sanitize_callback' => 'WPML_REST_Arguments_Sanitation::integer', ]; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.3-4ubuntu2.24 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка