/
home
/
vianto5
/
cititower.mx
/
wp-content
/
plugins
/
sitepress-multilingual-cms
/
classes
/
API
/
REST
/
/home/vianto5/cititower.mx/wp-content/plugins/sitepress-multilingual-cms/classes/API/REST
mkdir
upload
Name
Size
Mode
Actions
CustomXMLConfig/
-
0755
rm
jobs/
-
0755
rm
Adaptor.php
655
0644
edit
dl
rm
Base.php
854
0644
edit
dl
rm
BaseTM.php
171
0644
edit
dl
rm
class-wpml-ate-proxy-factory.php
259
0644
edit
dl
rm
class-wpml-ate-proxy.php
4837
0644
edit
dl
rm
class-wpml-rest-arguments-sanitation.php
1345
0644
edit
dl
rm
class-wpml-rest-arguments-validation.php
1326
0644
edit
dl
rm
class-wpml-rest-base.php
2314
0644
edit
dl
rm
class-wpml-rest-extend-args-factory.php
276
0644
edit
dl
rm
class-wpml-rest-extend-args.php
2591
0644
edit
dl
rm
class-wpml-rest-factory-loader.php
306
0644
edit
dl
rm
class-wpml-rest.php
1093
0644
edit
dl
rm
class-wpml-tm-rest-apply-tp-translation-factory.php
498
0644
edit
dl
rm
class-wpml-tm-rest-apply-tp-translation.php
1729
0644
edit
dl
rm
class-wpml-tm-rest-batch-sync-factory.php
323
0644
edit
dl
rm
class-wpml-tm-rest-batch-sync.php
1736
0644
edit
dl
rm
class-wpml-tm-rest-download-file.php
746
0644
edit
dl
rm
class-wpml-tm-rest-jobs-factory.php
806
0644
edit
dl
rm
class-wpml-tm-rest-jobs.php
9902
0644
edit
dl
rm
class-wpml-tm-rest-tp-xliff-factory.php
301
0644
edit
dl
rm
class-wpml-tm-rest-tp-xliff.php
2578
0644
edit
dl
rm
FactoryLoader.php
832
0644
edit
dl
rm
Target.php
169
0644
edit
dl
rm
WPML_Proxy.php
13222
0644
edit
dl
rm
Edit:
/home/vianto5/cititower.mx/wp-content/plugins/sitepress-multilingual-cms/classes/API/REST/Base.php
(854B)
<?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', ]; } }
Save
cmd:
run