Файловый менеджер - Редактировать - /home/digitalm/yhubita/wp-content/plugins/internal-links/database/wpml/translations.php
Назад
<?php namespace ILJ\Database\WPML; use ILJ\Database\Postmeta; /** * Database wrapper wpml table "icl_translations" * * @package ILJ\Database * @since 1.2.0 */ class Translations { const ILJ_DATABASE_TABLE_WPML_TRANSLATIONS = 'icl_translations'; /** * Retrieves all translation relations by type * * @since 1.2.0 * @param string $type_prefix The prefix of the type (post, tax) * * @return array */ public static function getByElementType($type_prefix) { global $wpdb; $query = sprintf(' SELECT * FROM %s translations WHERE element_type LIKE "%s%%"', $wpdb->prefix . self::ILJ_DATABASE_TABLE_WPML_TRANSLATIONS, $type_prefix . '_'); return $wpdb->get_results($query); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Генерация страницы: 0.03 |
proxy
|
phpinfo
|
Настройка