WPML
wpml_is_translated_taxonomy
Type
filter
WPML Version
3.5.2

Description

Returns TRUE or FALSE depending on whether a taxonomy has been set to be translatable or not.

Arguments

apply_filters( 'wpml_is_translated_taxonomy', null, string $taxonomy )

$taxonomy

(string) (Required) The taxonomy you would like to check. This can be a category, post_tag, nav_menu, or other default taxonomy.

For custom taxonomies, please add the slug of the custom taxonomy.

Example usage

Example
//$is_translated will be TRUE if the taxonomy is set to be translatable and FALSE if it is not set to be translatable
$is_translated = apply_filters( 'wpml_is_translated_taxonomy', NULL, 'categories' )

wpml_element_translation_type, wpml_is_translated_post_type, wpml_master_post_from_duplicate, wpml_post_duplicates, wpml_element_has_translations

All 6 Finding the Translation State of Content hooks →