ldc-groupe/content/plugins/sitepress-multilingual-cms/classes/API/REST/class-wpml-rest-extend-args-factory.php

16 lines
276 B
PHP
Raw Normal View History

2020-04-17 16:50:36 +02:00
<?php
/**
* @author OnTheGo Systems
*/
class WPML_REST_Extend_Args_Factory implements IWPML_REST_Action_Loader {
/**
* @return IWPML_Action|IWPML_Action[]|null
*/
public function create() {
global $sitepress;
return new WPML_REST_Extend_Args( $sitepress );
}
}