wpml_element_trid

wpml_element_trid

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

See hook in core

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

apply_filters('wpml_element_trid') is found 1 times:

  • /app/Common/Sitemap/Localization.php line 61
    			$elementId   = $term->term_taxonomy_id;
    			$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'] = [];