wpml_get_element_translations

wpml_get_element_translations

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: all-in-one-seo-pack.4.7.5.1

apply_filters('wpml_get_element_translations') is found 1 times:

  • /app/Common/Sitemap/Localization.php line 62
    			$elementType = 'tax_' . $objectName;
    		}
    
    		$translationGroupId = apply_filters( 'wpml_element_trid', null, $elementId, $elementType );
    		$translations       = apply_filters( 'wpml_get_element_translations', null, $translationGroupId, $elementType );
    		if ( empty( $translations ) ) {
    			return $entry;
    		}
    
    		$entry['languages'] = [];
    		$hiddenLanguages    = apply_filters( 'wpml_setting', [], 'hidden_languages' );