ACF_WPML_Compatibility::get_translatable_documents() public ACF 5.6.0
Removes 'acf-field' from the available post types for translation.
{} Это метод класса: ACF_WPML_Compatibility{}
Хуков нет.
Возвращает
Массив.
Использование
$ACF_WPML_Compatibility = new ACF_WPML_Compatibility(); $ACF_WPML_Compatibility->get_translatable_documents( $icl_post_types );
- $icl_post_types(массив) (обязательный)
- The array of post types.
Список изменений
С версии 5.6.0 | Введена. |
Код ACF_WPML_Compatibility::get_translatable_documents() ACF WPML Compatibility::get translatable documents ACF 5.9.1
function get_translatable_documents( $icl_post_types ) {
// unset
unset( $icl_post_types['acf-field'] );
// return
return $icl_post_types;
}