Passer la navigation
Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Fuseau horaire du support : Asia/Ho_Chi_Minh (GMT+07:00)

Marqué : 

Ce sujet contient 0 réponse, a 1 voix.

Dernière mise à jour par Zotezo Com Il y a 1 année et 8 mois.

Assisté par: Long Nguyen.

Auteur Messages
octobre 16, 2023 à 7:35 am

Zotezo Com

Hello, I'm using below snippet for a purpose

$trid = apply_filters( 'wpml_element_trid', NULL, $object->ID, 'post_top10' );
$translations = apply_filters( 'wpml_get_element_translations', NULL, $trid, 'post_top10' );

but surprisingly getting other posttypes too in $translations

octobre 16, 2023 à 9:09 am

Le sujet « [Fermé] The code snippet is getting other posttypes too in $translations » est fermé aux nouvelles réponses.