WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
фильтр не описан

wp_get_object_terms хук-фильтр . WP 2.8.0

Filters the terms for a given object or objects.

The $taxonomies parameter passed to this filter is formatted as a SQL fragment. The 'get_object_terms' filter is recommended as an alternative.

Использование

add_filter( 'wp_get_object_terms', 'filter_function_name_8597', 10, 4 );
function filter_function_name_8597( $terms, $object_ids, $taxonomies, $args ){
	// filter...

	return $terms;
}
$terms(массив)
Array of terms for the given object or objects.
$object_ids(число[])
Array of object IDs for which terms were retrieved.
$taxonomies(строка[])
Array of taxonomy names from which terms were retrieved.
$args(массив)
Array of arguments for retrieving terms for the given object(s). See wp_get_object_terms() for details.

Список изменений

С версии 2.8.0 Введена.

Где вызывается хук

wp_get_object_terms()
wp_get_object_terms
wp-includes/taxonomy.php 2068
return apply_filters( 'wp_get_object_terms', $terms, $object_ids, $taxonomies, $args );

Где используется хук (в ядре WP)

wp-includes/default-filters.php 484
add_filter( 'wp_get_object_terms', '_post_format_wp_get_object_terms' );