PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
wpml-string-translation
/
classes
/
db-mappers
<?php namespace WPML\ST\DB\Mappers; use function WPML\Container\make; use function WPML\FP\partial; class Hooks implements \IWPML_Action, \IWPML_Backend_Action, \IWPML_Frontend_Action { public function add_hooks() { $getStringById = [ make( \WPML_ST_DB_Mappers_Strings::class ), 'getById' ]; $moveStringToDomain = partial( [ Update::class, 'moveStringToDomain' ], $getStringById ); add_action( 'wpml_st_move_string_to_domain', $moveStringToDomain, 10, 2 ); add_action( 'wpml_st_move_all_strings_to_new_domain', [ Update::class, 'moveAllStringsToNewDomain' ], 10, 2 ); } }
[-] Update.php
[edit]
[-] class-wpml-st-db-mappers-strings.php
[edit]
[-] class-wpml-st-db-mappers-string-positions.php
[edit]
[-] wpml-st-word-count-package-records.php
[edit]
[-] StringTranslations.php
[edit]
[-] class-wpml-st-models-string.php
[edit]
[-] StringsRetrieve.php
[edit]
[-] wpml-st-word-count-string-records.php
[edit]
[-] class-wpml-st-bulk-strings-insert.php
[edit]
[-] class-wpml-st-models-string-translation.php
[edit]
[+]
..
[-] class-wpml-st-bulk-update-strings-status.php
[edit]
[-] Hooks.php
[edit]
[-] DomainsRepository.php
[edit]