/home/vianto5/cititower.mx/wp-content/plugins/sitepress-multilingual-cms/classes/API/REST
Edit: /home/vianto5/cititower.mx/wp-content/plugins/sitepress-multilingual-cms/classes/API/REST/Base.php (854B)
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',
];
}
}