first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @author OnTheGo Systems
|
||||
*/
|
||||
class WPML_ST_Privacy_Content_Factory implements IWPML_Backend_Action_Loader {
|
||||
|
||||
/**
|
||||
* @return IWPML_Action
|
||||
*/
|
||||
public function create() {
|
||||
if ( class_exists( 'WPML_Privacy_Content' ) ) {
|
||||
return new WPML_ST_Privacy_Content();
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @author OnTheGo Systems
|
||||
*/
|
||||
class WPML_ST_Privacy_Content extends WPML_Privacy_Content {
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
protected function get_plugin_name() {
|
||||
return 'WPML String Translation';
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string|array
|
||||
*/
|
||||
protected function get_privacy_policy() {
|
||||
return __( 'WPML String Translation will send all strings to WPML’s Advanced Translation Editor and to the translation services which are used.', 'wpml-string-translation' );
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user