Файловый менеджер - Редактировать - /var/www/xthruster/html/wp-content/plugins/wpml-string-translation/classes/db-mappers/DomainsRepository.php
Назад
<?php namespace WPML\ST\DB\Mappers; use WPML\FP\Curryable; /** * Class DomainsRepository * @package WPML\ST\DB\Mappers * * @method static callable|array getByStringIds( ...$stringIds ) - Curried :: int[]->string[] * */ class DomainsRepository { use Curryable; public static function init() { self::curryN( 'getByStringIds', 1, function ( array $stringIds ) { global $wpdb; $sql = "SELECT DISTINCT `context` FROM {$wpdb->prefix}icl_strings WHERE id IN (" . wpml_prepare_in( $stringIds ) . ")"; return $wpdb->get_col( $sql ); } ); } } DomainsRepository::init();
| ver. 1.4 |
Github
|
.
| PHP 7.4.3-4ubuntu2.24 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка