first commit

This commit is contained in:
2023-09-12 21:41:04 +02:00
commit 3361a7f053
13284 changed files with 2116755 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace WPML\TM\Jobs\Utils;
use function WPML\Container\make;
use WPML_Post_Translation;
class ElementLinkFactory {
public static function create() {
/**
* @var WPML_Post_Translation $wpml_post_translations;
*/
global $wpml_post_translations;
return make(
ElementLink::class,
[ ':postTranslation' => $wpml_post_translations ]
);
}
}